@brik-blink/button
v0.1.2
Published
A reusable button component for React applications
Maintainers
Readme
@brik/button
A modern, accessible button component built with React and Tailwind CSS.
Installation
npm install @brik/buttonUsage
import { Button } from '@brik/button'
export default function MyComponent() {
return (
<Button variant="default" size="lg">
Click me
</Button>
)
}Props
| Prop | Type | Default | Description | |------|------|---------|-------------| | variant | 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'default' | The visual style of the button | | size | 'sm' | 'default' | 'lg' | 'default' | The size of the button |
License
MIT
