Simple Buttons
A few examples of simple buttons with different styles and sizes.
Installation
Usage
1import { SimpleButton } from '@/components/pumki-ui/buttons/simple';1<SimpleButton>Default SimpleButton</SimpleButton>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant? | ādefault' | 'destructive' | 'outline' |
| size? | ādefault' | 'sm' | 'lg' |
| asChild? | boolean | false | If true, renders children directly with button styles. |
| className? | string | - | Additional CSS classes for the button. |
| children? | React.ReactNode | - | Button content. |
| type? | ābutton' | 'submit' | 'resetā |
| ā¦props | HTMLButtonElement attributes | - | Any other props for the button element. |
Last updated on