API Reference
Props and types for key components.
Card
Props table and type definition.
| Name | Type | Default | Description |
|---|---|---|---|
| className | string | - | Custom classes |
| asChild | boolean | false | Render via Slot |
card.d.ts
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {}Tooltip
Props table and type definition.
| Name | Type | Default | Description |
|---|---|---|---|
| delayDuration | number | 150 | Show delay |
| side | 'top' | 'right' | 'bottom' | 'left' | 'top' | Position |
tooltip.d.ts
export interface TooltipProps { delayDuration?: number }Toast
Props table and type definition.
| Name | Type | Default | Description |
|---|---|---|---|
| title | string | - | Toast title |
| description | string | - | Body text |
| variant | 'default' | 'destructive' | 'default' | Visual style |
| duration | number | 3000 | Auto-dismiss ms |
toast.d.ts
export type Toast = { title?: string; description?: string; variant?: 'default' | 'destructive'; duration?: number }
