Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: add missing component

Dillion Verma2824a7e12395
diff --git a/__registry__/index.tsx b/__registry__/index.tsx
index 0be98355..347b5d5a 100644
--- a/__registry__/index.tsx
+++ b/__registry__/index.tsx
@@ -1435,6 +1435,29 @@ export const Index: Record<string, any> = {
}),
meta: undefined,
},
+ terminal: {
+ name: "terminal",
+ description: "A terminal component",
+ type: "registry:ui",
+ registryDependencies: undefined,
+ files: [
+ {
+ path: "registry/magicui/terminal.tsx",
+ type: "registry:ui",
+ target: "",
+ },
+ ],
+ component: React.lazy(async () => {
+ const mod = await import("@/registry/magicui/terminal.tsx");
+ const exportName =
+ Object.keys(mod).find(
+ (key) =>
+ typeof mod[key] === "function" || typeof mod[key] === "object",
+ ) || item.name;
+ return { default: mod.default || mod[exportName] };
+ }),
+ meta: undefined,
+ },
"magic-card-demo": {
name: "magic-card-demo",
description:
diff --git a/components.json b/components.json
index dcb84ea0..514baa65 100644
--- a/components.json
+++ b/components.json
@@ -3,13 +3,16 @@
"style": "new-york",
"rsc": true,
"tailwind": {
- "config": "tailwind.config.js",
+ "config": "tailwind.config.cjs",
"css": "app/globals.css",
"baseColor": "neutral",
"cssVariables": true
},
"aliases": {
"components": "@/components",
- "utils": "@/lib/utils"
+ "utils": "@/lib/utils",
+ "ui": "@/components/ui",
+ "lib": "@/lib",
+ "hooks": "@/hooks"
}
}
diff --git a/registry.json b/registry.json
index 745bb619..7b8fcffb 100644
--- a/registry.json
+++ b/registry.json
@@ -1292,6 +1292,18 @@
}
]
},
+ {
+ "name": "terminal",
+ "type": "registry:ui",
+ "title": "Terminal",
+ "description": "A terminal component",
+ "files": [
+ {
+ "path": "registry/magicui/terminal.tsx",
+ "type": "registry:ui"
+ }
+ ]
+ },
{
"name": "magic-card-demo",
"type": "registry:example",
diff --git a/registry/registry-ui.ts b/registry/registry-ui.ts
index cd27768b..5b091197 100644
--- a/registry/registry-ui.ts
+++ b/registry/registry-ui.ts
@@ -883,4 +883,11 @@ export const ui: Registry["items"] = [
{ path: "magicui/interactive-hover-button.tsx", type: "registry:ui" },
],
},
+ {
+ name: "terminal",
+ type: "registry:ui",
+ title: "Terminal",
+ description: "A terminal component",
+ files: [{ path: "magicui/terminal.tsx", type: "registry:ui" }],
+ },
];