Button
Displays a button or a component that looks like a button.
Installation
Import from the package. Do not run shadcn add in your app.
import { Button } from "@carsxe/design-system/components/button"Usage
import { Button } from "@carsxe/design-system/components/button"
<Button variant="outline">Button</Button>Default
Outline
Secondary
Ghost
Destructive
Link
Disabled
Size
Icon
API Reference
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | "default" |
| size | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "default" |

