Last active
May 14, 2025 02:39
-
-
Save yesoreyeram/9b92dbb7d4228b73bc597a894f72a8ae to your computer and use it in GitHub Desktop.
shadcn ui components sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://ui.shadcn.com/schema/registry-item.json", | |
| "name": "hello", | |
| "type": "registry:component", | |
| "title": "Hello", | |
| "description": "A simple hello component", | |
| "files": [ | |
| { | |
| "path": "src/components/hello/hello.tsx", | |
| "content": "// prettier-ignore\n\nimport React from \"react\";\n\ntype HelloProps = (props: React.PropsWithChildren<{ message: string }>) => React.ReactElement;\n\nexport const Hello: HelloProps = (props) => {\n const { message } = props;\n const emoji = \"👋\";\n return (\n <div className=\"flex\">\n Hello.. {emoji} {message}\n </div>\n );\n};\n", | |
| "type": "registry:component" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment