├── .nvmrc ├── apps └── www │ ├── pages │ ├── .gitkeep │ └── api │ │ ├── .gitkeep │ │ └── components.ts │ ├── __registry__ │ ├── .gitkeep │ ├── .autogenerated │ └── README.md │ ├── .gitignore │ ├── postcss.config.cjs │ ├── public │ ├── og.png │ ├── favicon.ico │ ├── og-unused.jpg │ ├── avatars │ │ ├── 01.png │ │ ├── 02.png │ │ ├── 03.png │ │ ├── 04.png │ │ └── 05.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── images │ │ ├── style.jpg │ │ └── style-with-theming.jpg │ ├── registry │ │ ├── styles │ │ │ ├── index.json │ │ │ └── default │ │ │ │ ├── aspect-ratio.json │ │ │ │ ├── skeleton.json │ │ │ │ ├── collapsible.json │ │ │ │ ├── textarea.json │ │ │ │ ├── label.json │ │ │ │ ├── progress.json │ │ │ │ ├── spinner.json │ │ │ │ ├── status-dot.json │ │ │ │ ├── kbd.json │ │ │ │ ├── sonner.json │ │ │ │ ├── loading-dots.json │ │ │ │ ├── checkbox.json │ │ │ │ ├── show-more.json │ │ │ │ ├── hover-card.json │ │ │ │ └── popover.json │ │ └── themes │ │ │ └── neutral.json │ ├── apple-touch-icon.png │ ├── examples │ │ ├── cards-dark.png │ │ ├── forms-dark.png │ │ ├── mail-dark.png │ │ ├── mail-light.png │ │ ├── music-dark.png │ │ ├── tasks-dark.png │ │ ├── cards-light.png │ │ ├── forms-light.png │ │ ├── music-light.png │ │ ├── tasks-light.png │ │ ├── dashboard-dark.png │ │ ├── dashboard-light.png │ │ ├── playground-dark.png │ │ ├── playground-light.png │ │ ├── authentication-dark.png │ │ └── authentication-light.png │ ├── android-chrome-192x192.png │ ├── android-chrome-512x512.png │ ├── site.webmanifest │ └── schema.json │ ├── assets │ └── fonts │ │ ├── Inter-Bold.ttf │ │ └── Inter-Regular.ttf │ ├── registry │ ├── default │ │ ├── example │ │ │ ├── grid-cell-span.tsx │ │ │ ├── kbd-small.tsx │ │ │ ├── spinner-demo.tsx │ │ │ ├── kbd-combination.tsx │ │ │ ├── spinner-size.tsx │ │ │ ├── gauge-arc-priority.tsx │ │ │ ├── theme-switcher-demo.tsx │ │ │ ├── snippet-demo.tsx │ │ │ ├── text-responsive.tsx │ │ │ ├── textarea-demo.tsx │ │ │ ├── snippet-multi-line.tsx │ │ │ ├── snippet-inverted.tsx │ │ │ ├── snippet-no-prompt.tsx │ │ │ ├── textarea-disabled.tsx │ │ │ ├── text-color.tsx │ │ │ ├── text-polymorphic.tsx │ │ │ ├── kbd-demo.tsx │ │ │ ├── text-monospace.tsx │ │ │ ├── text-truncate.tsx │ │ │ ├── button-with-icon.tsx │ │ │ ├── toggle-disabled.tsx │ │ │ ├── snippet-callback.tsx │ │ │ ├── text-modifiers.tsx │ │ │ ├── show-more-demo.tsx │ │ │ ├── tooltip-demo.tsx │ │ │ ├── tooltip-other.tsx │ │ │ ├── loading-dots-with-text.tsx │ │ │ ├── tooltip-box-align.tsx │ │ │ ├── tooltip-components.tsx │ │ │ ├── tooltip-custom-type.tsx │ │ │ ├── tooltip-no-delay.tsx │ │ │ ├── switch-full-width.tsx │ │ │ ├── tooltip-custom-content.tsx │ │ │ ├── avatar-demo.tsx │ │ │ ├── text-align.tsx │ │ │ ├── loading-dots-demo.tsx │ │ │ ├── toggle-size.tsx │ │ │ ├── switch-demo.tsx │ │ │ ├── stack-demo.tsx │ │ │ ├── textarea-with-button.tsx │ │ │ ├── input-with-label.tsx │ │ │ ├── switch-icon.tsx │ │ │ ├── gauge-color-scale.tsx │ │ │ ├── input-with-button.tsx │ │ │ ├── switch-disabled.tsx │ │ │ ├── textarea-with-label.tsx │ │ │ ├── label-demo.tsx │ │ │ ├── gauge-demo.tsx │ │ │ ├── note-demo.tsx │ │ │ ├── skeleton-demo.tsx │ │ │ ├── skeleton-card.tsx │ │ │ ├── calendar-demo.tsx │ │ │ ├── gauge-custom-secondary-color.tsx │ │ │ ├── status-dot-demo.tsx │ │ │ ├── progress-demo.tsx │ │ │ ├── snippet-variants.tsx │ │ │ ├── status-dot-label.tsx │ │ │ ├── grid-debug.tsx │ │ │ ├── grid-demo.tsx │ │ │ ├── input-with-text.tsx │ │ │ ├── alert-demo.tsx │ │ │ ├── stack-responsive.tsx │ │ │ ├── button-demo.tsx │ │ │ ├── checkbox-disabled.tsx │ │ │ ├── toast-simple.tsx │ │ │ ├── badge-sizes.tsx │ │ │ ├── checkbox-demo.tsx │ │ │ ├── aspect-ratio-demo.tsx │ │ │ ├── menu-link-items.tsx │ │ │ ├── alert-destructive.tsx │ │ │ ├── textarea-with-text.tsx │ │ │ ├── text-clamp.tsx │ │ │ ├── input-disabled.tsx │ │ │ ├── sonner-demo.tsx │ │ │ ├── toast-with-title.tsx │ │ │ ├── button-loading.tsx │ │ │ ├── button-types.tsx │ │ │ ├── button-disabled.tsx │ │ │ ├── note-disabled.tsx │ │ │ ├── gauge-label.tsx │ │ │ ├── stack-padding.tsx │ │ │ ├── input-demo.tsx │ │ │ ├── text-demo.tsx │ │ │ ├── note-action.tsx │ │ │ ├── button-rounded.tsx │ │ │ ├── toast-with-action.tsx │ │ │ ├── toggle-demo.tsx │ │ │ ├── scroll-area-demo.tsx │ │ │ ├── menu-disabled-items.tsx │ │ │ ├── checkbox-with-text.tsx │ │ │ ├── toast-demo.tsx │ │ │ ├── toast-destructive.tsx │ │ │ ├── button-prefix.tsx │ │ │ ├── note-cyan.tsx │ │ │ ├── note-error.tsx │ │ │ ├── menu-demo.tsx │ │ │ ├── menu-prefix.tsx │ │ │ ├── note-success.tsx │ │ │ ├── note-violet.tsx │ │ │ ├── note-warning.tsx │ │ │ ├── menu-custom-trigger.tsx │ │ │ ├── tabs-demo.tsx │ │ │ ├── radio-group-demo.tsx │ │ │ ├── tabs-disable-specific-tabs.tsx │ │ │ ├── resizable-vertical.tsx │ │ │ ├── resizable-handle.tsx │ │ │ ├── collapse-demo.tsx │ │ │ ├── note-secondary.tsx │ │ │ ├── tabs-controlled.tsx │ │ │ ├── select-demo.tsx │ │ │ ├── switch-sizes.tsx │ │ │ ├── menu-radio-group.tsx │ │ │ ├── pagination-demo.tsx │ │ │ ├── text-variants.tsx │ │ │ ├── mode-toggle.tsx │ │ │ ├── input-prefix-suffix.tsx │ │ │ ├── date-picker-demo.tsx │ │ │ ├── resizable-demo.tsx │ │ │ ├── resizable-demo-with-handle.tsx │ │ │ ├── menu-position.tsx │ │ │ ├── button-shapes.tsx │ │ │ ├── hover-card-demo.tsx │ │ │ ├── collapsible-demo.tsx │ │ │ └── menu-checkboxes.tsx │ │ └── ui │ │ │ ├── aspect-ratio.tsx │ │ │ ├── skeleton.tsx │ │ │ ├── collapsible.tsx │ │ │ ├── label.tsx │ │ │ ├── textarea.tsx │ │ │ ├── progress.tsx │ │ │ ├── toaster.tsx │ │ │ ├── sonner.tsx │ │ │ ├── status-dot.tsx │ │ │ ├── spinner.tsx │ │ │ ├── loading-dots.tsx │ │ │ ├── kbd.tsx │ │ │ ├── checkbox.tsx │ │ │ ├── show-more.tsx │ │ │ ├── hover-card.tsx │ │ │ ├── popover.tsx │ │ │ ├── tooltip.tsx │ │ │ └── avatar.tsx │ ├── .eslintrc.json │ ├── styles.ts │ └── schema.ts │ ├── .prettierignore │ ├── lib │ ├── validations │ │ ├── log.ts │ │ └── og.ts │ ├── fonts.ts │ ├── utils.ts │ └── events.ts │ ├── components │ ├── analytics.tsx │ ├── announcement.tsx │ ├── providers.tsx │ ├── promo-video.tsx │ ├── style-wrapper.tsx │ ├── component-card.tsx │ ├── callout.tsx │ ├── framework-docs.tsx │ ├── component-source.tsx │ ├── tailwind-indicator.tsx │ ├── theme-switcher.tsx │ ├── theme-wrapper.tsx │ ├── padding-box.tsx │ ├── site-footer.tsx │ ├── drawer.tsx │ └── theme-component.tsx │ ├── .env.example │ ├── hooks │ ├── use-mounted.ts │ ├── use-lock-body.ts │ ├── use-config.ts │ ├── use-media-query.tsx │ └── use-mutation-observer.ts │ ├── next-env.d.ts │ ├── tailwind.config.cjs │ ├── content │ └── docs │ │ ├── changelog.mdx │ │ ├── index.mdx │ │ ├── about.mdx │ │ └── components │ │ ├── grid.mdx │ │ ├── theme-switcher.mdx │ │ ├── status-dot.mdx │ │ ├── kbd.mdx │ │ ├── skeleton.mdx │ │ ├── label.mdx │ │ ├── progress.mdx │ │ ├── switch.mdx │ │ ├── show-more.mdx │ │ ├── avatar.mdx │ │ ├── card.mdx │ │ ├── popover.mdx │ │ ├── snippet.mdx │ │ ├── aspect-ratio.mdx │ │ ├── gauge.mdx │ │ ├── textarea.mdx │ │ ├── toggle.mdx │ │ ├── hover-card.mdx │ │ └── checkbox.mdx │ ├── tsconfig.scripts.json │ ├── config │ └── site.ts │ ├── types │ ├── nav.ts │ └── unist.ts │ ├── app │ ├── docs │ │ └── layout.tsx │ └── examples │ │ └── authentication │ │ └── components │ │ └── user-auth-form.tsx │ ├── tsconfig.json │ └── next.config.mjs ├── packages └── cli │ ├── .prettierignore │ ├── .gitignore │ ├── tsup.config.ts │ ├── src │ ├── utils │ │ ├── get-package-info.ts │ │ ├── handle-error.ts │ │ ├── resolve-import.ts │ │ ├── logger.ts │ │ ├── get-package-manager.ts │ │ ├── transformers │ │ │ ├── transform-rsc.ts │ │ │ └── transform-import.ts │ │ └── registry │ │ │ └── schema.ts │ └── index.ts │ ├── tsconfig.json │ └── README.md ├── .npmrc ├── .commitlintrc.json ├── .prettierignore ├── pnpm-workspace.yaml ├── postcss.config.cjs ├── .editorconfig ├── vitest.config.ts ├── .vscode └── settings.json ├── README.md ├── .kodiak.toml ├── .gitignore ├── tsconfig.json ├── .eslintrc.json ├── prettier.config.cjs ├── LICENSE.md ├── scripts └── sync-templates.sh └── turbo.json /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.17.0 2 | -------------------------------------------------------------------------------- /apps/www/pages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/www/pages/api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/www/__registry__/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/.prettierignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=true 2 | -------------------------------------------------------------------------------- /apps/www/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | .env -------------------------------------------------------------------------------- /packages/cli/.gitignore: -------------------------------------------------------------------------------- 1 | components 2 | dist 3 | .turbo -------------------------------------------------------------------------------- /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"] 3 | } 4 | -------------------------------------------------------------------------------- /apps/www/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("../../postcss.config.cjs") 2 | -------------------------------------------------------------------------------- /apps/www/public/og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/og.png -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | .next 4 | build 5 | .contentlayer 6 | apps/www/pages/api/registry.json -------------------------------------------------------------------------------- /apps/www/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/favicon.ico -------------------------------------------------------------------------------- /apps/www/public/og-unused.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/og-unused.jpg -------------------------------------------------------------------------------- /apps/www/__registry__/.autogenerated: -------------------------------------------------------------------------------- 1 | // The content of this directory is autogenerated by the registry server. 2 | -------------------------------------------------------------------------------- /apps/www/public/avatars/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/avatars/01.png -------------------------------------------------------------------------------- /apps/www/public/avatars/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/avatars/02.png -------------------------------------------------------------------------------- /apps/www/public/avatars/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/avatars/03.png -------------------------------------------------------------------------------- /apps/www/public/avatars/04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/avatars/04.png -------------------------------------------------------------------------------- /apps/www/public/avatars/05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/avatars/05.png -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - "apps/*" 3 | - "packages/*" 4 | - "templates/*" 5 | - "!**/test/**" 6 | -------------------------------------------------------------------------------- /apps/www/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/favicon-16x16.png -------------------------------------------------------------------------------- /apps/www/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/favicon-32x32.png -------------------------------------------------------------------------------- /apps/www/public/images/style.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/images/style.jpg -------------------------------------------------------------------------------- /apps/www/public/registry/styles/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "default", 4 | "label": "Default" 5 | } 6 | ] -------------------------------------------------------------------------------- /apps/www/assets/fonts/Inter-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/assets/fonts/Inter-Bold.ttf -------------------------------------------------------------------------------- /apps/www/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/apple-touch-icon.png -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /apps/www/assets/fonts/Inter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/assets/fonts/Inter-Regular.ttf -------------------------------------------------------------------------------- /apps/www/public/examples/cards-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/cards-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/forms-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/forms-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/mail-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/mail-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/mail-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/mail-light.png -------------------------------------------------------------------------------- /apps/www/public/examples/music-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/music-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/tasks-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/tasks-dark.png -------------------------------------------------------------------------------- /apps/www/registry/default/example/grid-cell-span.tsx: -------------------------------------------------------------------------------- 1 | export default function GridCellSpan() { 2 | return
grid
3 | } 4 | -------------------------------------------------------------------------------- /apps/www/public/examples/cards-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/cards-light.png -------------------------------------------------------------------------------- /apps/www/public/examples/forms-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/forms-light.png -------------------------------------------------------------------------------- /apps/www/public/examples/music-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/music-light.png -------------------------------------------------------------------------------- /apps/www/public/examples/tasks-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/tasks-light.png -------------------------------------------------------------------------------- /apps/www/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /apps/www/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /apps/www/public/examples/dashboard-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/dashboard-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/dashboard-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/dashboard-light.png -------------------------------------------------------------------------------- /apps/www/public/examples/playground-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/playground-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/playground-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/playground-light.png -------------------------------------------------------------------------------- /apps/www/public/images/style-with-theming.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/images/style-with-theming.jpg -------------------------------------------------------------------------------- /apps/www/public/examples/authentication-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/authentication-dark.png -------------------------------------------------------------------------------- /apps/www/public/examples/authentication-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imMatheus/vercel-ui/HEAD/apps/www/public/examples/authentication-light.png -------------------------------------------------------------------------------- /apps/www/.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | .next 4 | build 5 | .contentlayer 6 | __registry__/index.tsx 7 | app/examples/mail/components/mail.tsx 8 | -------------------------------------------------------------------------------- /apps/www/__registry__/README.md: -------------------------------------------------------------------------------- 1 | > Files inside this directory is autogenerated by `./scripts/build-registry.ts`. **Do not edit them manually.** - shadcn 2 | -------------------------------------------------------------------------------- /apps/www/registry/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/eslintrc", 3 | "rules": { 4 | "react/no-unescaped-entities": "off" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/www/lib/validations/log.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const logSchema = z.object({ 4 | event: z.enum(["copy_primitive"]), 5 | data: z.record(z.string()), 6 | }) 7 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/kbd-small.tsx: -------------------------------------------------------------------------------- 1 | import { Kbd } from "@/registry/default/ui/kbd" 2 | 3 | export default function KbdSmallDemo() { 4 | return / 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/spinner-demo.tsx: -------------------------------------------------------------------------------- 1 | import { Spinner } from "@/registry/default/ui/spinner" 2 | 3 | export default function SpinnerDemo() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/styles.ts: -------------------------------------------------------------------------------- 1 | export const styles = [ 2 | { 3 | name: "default", 4 | label: "Default", 5 | }, 6 | ] as const 7 | 8 | export type Style = (typeof styles)[number] 9 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/kbd-combination.tsx: -------------------------------------------------------------------------------- 1 | import { Kbd } from "@/registry/default/ui/kbd" 2 | 3 | export default function KbdCombination() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/spinner-size.tsx: -------------------------------------------------------------------------------- 1 | import { Spinner } from "@/registry/default/ui/spinner" 2 | 3 | export default function SpinnerSize() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/components/analytics.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { Analytics as VercelAnalytics } from "@vercel/analytics/react" 4 | 5 | export function Analytics() { 6 | return 7 | } 8 | -------------------------------------------------------------------------------- /apps/www/lib/validations/og.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const ogImageSchema = z.object({ 4 | heading: z.string(), 5 | type: z.string(), 6 | mode: z.enum(["light", "dark"]).default("dark"), 7 | }) 8 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/gauge-arc-priority.tsx: -------------------------------------------------------------------------------- 1 | import { Gauge } from "@/registry/default/ui/gauge" 2 | 3 | export default function GaugeArcPriority() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/theme-switcher-demo.tsx: -------------------------------------------------------------------------------- 1 | import { ThemeSwitcher } from "@/registry/default/ui/theme-switcher" 2 | 3 | export default function ThemeSwitcherDemo() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" 4 | 5 | const AspectRatio = AspectRatioPrimitive.Root 6 | 7 | export { AspectRatio } 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | indent_size = 2 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/snippet-demo.tsx: -------------------------------------------------------------------------------- 1 | import { Snippet } from "@/registry/default/ui/snippet" 2 | 3 | export default function SnippetDemo() { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/text-responsive.tsx: -------------------------------------------------------------------------------- 1 | import { Text } from "../ui/text" 2 | 3 | export default function TextResponsive() { 4 | return The Evil Rabbit jumps. 5 | } 6 | -------------------------------------------------------------------------------- /apps/www/registry/default/example/textarea-demo.tsx: -------------------------------------------------------------------------------- 1 | import { Textarea } from "@/registry/default/ui/textarea" 2 | 3 | export default function TextareaDemo() { 4 | return