UI Componentsprimitives
Button
Button component with multiple variants.
Preview placeholder
button-viz
Installation
Terminal
npx @ontopic/viz add ui/generic/buttonProps
| Prop | Type | Description |
|---|---|---|
variant | 'default' | 'outline' | 'ghost' | Button style variant |
size | 'sm' | 'md' | 'lg' | Button size |
See full TypeScript interface on GitHub for all props.
Usage Example
TypeScript
import { Button } from '@/viz/ui/generic/button';Metadata
- Last Updated2025-01-12
- FrameworkUI Components
- Categoryprimitives
- Subcategorygeneric
UI Button Variants
Quick Install
npx @ontopic/viz add ui/generic/button