Button
Accessible button with six variants and electric-glow on the default variant.
Installation
1
Run the CLI
$npx particleui-cli add button
Usage
TSX
import { Button } from "@/components/ui/button"
export default function Example() {
return <Button>Click me</Button>
}Props
| Prop | Type | Default | Required |
|---|---|---|---|
| asChild | boolean | — | no |
Details
Source filecomponents/ui/button.tsx
Typeui
Categoriesbuttons, core
npm dependencies@radix-ui/react-slot, tailwind-variants
Registry deps
Claude skill—