Installation
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Additional CSS classes |
@/components/ui/button.
Dependencies
@/components/ui/button- Base button component@/lib/utils- Utility functions (cn)
Features
- Opens links in new tab with security attributes
- V0 logo SVG integrated
- Smooth hover transitions
- Dark mode support (inverts colors)
- Black background in light mode
- White background in dark mode
- Small, compact design
- No prose styling (for documentation contexts)
Integration
The button includes theasChild prop to render as an anchor tag, making it perfect for external links while maintaining button styling.