Formssrc/components/ui/button.tsx
Button
Displays a button or link styled as a button.
Preview
Sizes
Variants
Installation
Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.
bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/uiUsage
import { Button } from "@/components/ui/button"
export function Example() {
return <Button>Button</Button>
}API Reference
ExportPurpose
ButtonComposable part exported by `@/components/ui/button`.