UI Componentsprimitives

Button

Button component with multiple variants.

Preview placeholder

button-viz

Installation

Terminal
npx @ontopic/viz add ui/generic/button

Props

PropTypeDescription
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';