mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Updated build-registry.mts to include all component types (ui, ai, 3d, animation, code, etc.) - Fixed missing components issue by processing all components that start with 'components:' - Now properly handles components that only exist in one theme variant - Registry now contains 363 components (up from 117) - AI, 3D, animation, and code components are now accessible via the registry
10 lines
2.0 KiB
JSON
10 lines
2.0 KiB
JSON
{
|
|
"name": "typography-table",
|
|
"files": [
|
|
{
|
|
"name": "typography-table.tsx",
|
|
"content": "export default function TypographyTable() {\n return (\n <div className=\"my-6 w-full overflow-y-auto\">\n <table className=\"w-full\">\n <thead>\n <tr className=\"m-0 border-t p-0 even:bg-muted\">\n <th className=\"border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right\">\n King's Treasury\n </th>\n <th className=\"border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right\">\n People's happiness\n </th>\n </tr>\n </thead>\n <tbody>\n <tr className=\"m-0 border-t p-0 even:bg-muted\">\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Empty\n </td>\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Overflowing\n </td>\n </tr>\n <tr className=\"m-0 border-t p-0 even:bg-muted\">\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Modest\n </td>\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Satisfied\n </td>\n </tr>\n <tr className=\"m-0 border-t p-0 even:bg-muted\">\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Full\n </td>\n <td className=\"border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right\">\n Ecstatic\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |