Btn-standard
Installation
Usage
import { Button } from '@/components/pumki-ui/buttons/btn-standard.tsx';<Button />Example
As Input
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | - | Custom CSS classes for the button. |
| selected | boolean | - | Marks the button as selected (sets data-state=“open”). |
| variant | ’primary' | 'mono' | 'destructive' |
| shape | ’default' | 'circle' | 'default’ |
| appearance | ’default' | 'ghost' | 'default’ |
| mode | ’default' | 'icon' | 'link' |
| size | ’lg' | 'md' | 'sm' |
| autoHeight | boolean | false | If true, button height is set to auto. |
| underlined | ’solid' | 'dashed’ | - |
| underline | ’solid' | 'dashed’ | - |
| asChild | boolean | false | Renders as a child component (Radix Slot). |
| placeholder | boolean | false | Applies muted foreground color for input mode. |
| icon | LucideIcon | - | Lucide icon to display in the button (for ButtonArrow). |
| …props | All native button props | - | Any other props for the HTML <button> element. |
Last updated on