{"id":30583998,"url":"https://github.com/teovillanueva/shadcn-ui-react","last_synced_at":"2025-08-29T09:02:53.947Z","repository":{"id":65580604,"uuid":"594520585","full_name":"teovillanueva/shadcn-ui-react","owner":"teovillanueva","description":"Up to date Shadcn's UI components for React 🧊","archived":false,"fork":false,"pushed_at":"2024-04-27T00:20:24.000Z","size":361,"stargazers_count":28,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T08:21:37.114Z","etag":null,"topics":["design-system","nextjs","react","shadcn-ui","tailwindcss","ui"],"latest_commit_sha":null,"homepage":"https://ui.shadcn.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teovillanueva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-28T19:58:24.000Z","updated_at":"2024-05-26T19:47:02.000Z","dependencies_parsed_at":"2024-06-19T01:45:33.952Z","dependency_job_id":"605567f0-2b73-4724-b683-4fcb40359f94","html_url":"https://github.com/teovillanueva/shadcn-ui-react","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":"0.18181818181818177","last_synced_commit":"26c063fd0041692b9cea4906b14c79b66ad7d795"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teovillanueva/shadcn-ui-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teovillanueva%2Fshadcn-ui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teovillanueva%2Fshadcn-ui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teovillanueva%2Fshadcn-ui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teovillanueva%2Fshadcn-ui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teovillanueva","download_url":"https://codeload.github.com/teovillanueva/shadcn-ui-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teovillanueva%2Fshadcn-ui-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272658763,"owners_count":24971604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["design-system","nextjs","react","shadcn-ui","tailwindcss","ui"],"created_at":"2025-08-29T09:02:52.556Z","updated_at":"2025-08-29T09:02:53.926Z","avatar_url":"https://github.com/teovillanueva.png","language":"TypeScript","funding_links":[],"categories":["Components \u0026 Libraries"],"sub_categories":[],"readme":"# shadcn/ui components for React\n\n## Installation\n\n```sh\npnpm add @teovilla/shadcn-ui-react-button\n```\n\nTo install any other component you just follow this pattern: `@teovilla/shadcn-ui-react-{component}`\n\n## Setup\n\nYou first need to setup your shadcn theme with the following css file\n\n```css\n/* app/globals.css */\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@layer base {\n  :root {\n    --background: 0 0% 100%;\n    --foreground: 222.2 47.4% 11.2%;\n\n    --muted: 210 40% 96.1%;\n    --muted-foreground: 215.4 16.3% 46.9%;\n\n    --popover: 0 0% 100%;\n    --popover-foreground: 222.2 47.4% 11.2%;\n\n    --border: 214.3 31.8% 91.4%;\n    --input: 214.3 31.8% 91.4%;\n\n    --card: 0 0% 100%;\n    --card-foreground: 222.2 47.4% 11.2%;\n\n    --primary: 222.2 47.4% 11.2%;\n    --primary-foreground: 210 40% 98%;\n\n    --secondary: 210 40% 96.1%;\n    --secondary-foreground: 222.2 47.4% 11.2%;\n\n    --accent: 210 40% 96.1%;\n    --accent-foreground: 222.2 47.4% 11.2%;\n\n    --destructive: 0 100% 50%;\n    --destructive-foreground: 210 40% 98%;\n\n    --ring: 215 20.2% 65.1%;\n\n    --radius: 0.5rem;\n  }\n\n  .dark {\n    --background: 224 71% 4%;\n    --foreground: 213 31% 91%;\n\n    --muted: 223 47% 11%;\n    --muted-foreground: 215.4 16.3% 56.9%;\n\n    --accent: 216 34% 17%;\n    --accent-foreground: 210 40% 98%;\n\n    --popover: 224 71% 4%;\n    --popover-foreground: 215 20.2% 65.1%;\n\n    --border: 216 34% 17%;\n    --input: 216 34% 17%;\n\n    --card: 224 71% 4%;\n    --card-foreground: 213 31% 91%;\n\n    --primary: 210 40% 98%;\n    --primary-foreground: 222.2 47.4% 1.2%;\n\n    --secondary: 222.2 47.4% 11.2%;\n    --secondary-foreground: 210 40% 98%;\n\n    --destructive: 0 63% 31%;\n    --destructive-foreground: 210 40% 98%;\n\n    --ring: 216 34% 17%;\n\n    --radius: 0.5rem;\n  }\n}\n```\n\n## Usage\n\nThere are two ways you can bring the generated css into your projects\n\n### CSS Imports\n\n```css\n/* app/globals.css */\n@import \"../node_modules/@teovilla/shadcn-ui-react-button/styles/button.css\";\n\n/* ... */\n```\n\nOr\n\n### JS Import\n\n```tsx\nimport \"@teovilla/shadcn-ui-react-button/button.css\";\n\nimport { Button } from \"@teovilla/shadcn-ui-react-button/new-york/button\";\n\nexport default function Page() {\n  return \u003cButton\u003eButton\u003c/Button\u003e;\n}\n```\n\nTo change between the different shadcn-styles you just change the import of the components\n\n```tsx\n// import { Button } from \"@teovilla/shadcn-ui-react-button/new-york/button\";\n// import { Button } from \"@teovilla/shadcn-ui-react-button/default/button\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteovillanueva%2Fshadcn-ui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteovillanueva%2Fshadcn-ui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteovillanueva%2Fshadcn-ui-react/lists"}