{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "button", "type": "registry:ui", "title": "Button", "description": "Minimal monochrome button with variants and sizes.", "dependencies": [], "registryDependencies": [], "files": [ { "path": "registry/starkui/button.tsx", "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nconst variants = {\n default:\n \"bg-foreground text-background shadow-md hover:bg-foreground/90 hover:shadow-lg transition-all duration-200\",\n outline:\n \"border border-border/80 bg-background/50 hover:bg-muted hover:border-border transition-all duration-200 shadow-sm\",\n ghost: \"hover:bg-muted hover:text-foreground transition-colors duration-200\",\n glass: \"glass border border-border/50 text-foreground hover:bg-muted/50 shadow-sm backdrop-blur-md transition-all duration-200\",\n glow: \"bg-foreground text-background shadow-[0_0_20px_rgba(0,0,0,0.15)] dark:shadow-[0_0_25px_rgba(255,255,255,0.2)] hover:scale-[1.02] transition-all duration-200\",\n link: \"text-foreground underline-offset-4 hover:underline p-0 h-auto font-normal\",\n} as const;\n\nconst sizes = {\n sm: \"h-8 px-3 text-xs rounded-md\",\n md: \"h-9 px-4 text-sm rounded-lg\",\n lg: \"h-11 px-6 text-base rounded-xl\",\n icon: \"h-9 w-9 p-0 rounded-lg justify-center\",\n} as const;\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes {\n variant?: keyof typeof variants;\n size?: keyof typeof sizes;\n}\n\nexport function Button({\n className,\n variant = \"default\",\n size = \"md\",\n ...props\n}: ButtonProps) {\n return (\n \n );\n}\n", "type": "registry:ui", "target": "components/ui/button.tsx" } ] }