Button ​
components
test coverage
customizable button component with various visual styles and size
Usage ​
typescript
import { Button } from '@bounce-ui';
typescript
<Button variant="outline" size="sm">Click me</Button>
Demo ​
Api ​
Parameters
Name | Type | Default | Note |
---|---|---|---|
props.variant? | ButtonVariant | - | - Visual style variant |
props.size? | ButtonSize | - | - Size variant |
props.asChild? | boolean | false | - Whether to render as child component using Slot |
props.disableRipple? | boolean | false | - Whether to disable ripple effect |
props | React.ComponentProps<'button'> | - | - Additional button props |