# iv-ui — API corpus > Imports and API tables only. No examples. Full docs: https://iv-ui.vercel.app/llms-full.txt ## Button Triggers an action or submits a form. import { Button } from '@elluzion/iv-ui'; ### Props | Prop | Type | Default | Description | | --- | --- | --- | --- | | `variant` | `'primary' \| 'secondary' \| 'outline' \| 'ghost' \| 'icon' \| 'danger'` | `'secondary'` | Visual emphasis. `secondary` is the default. | | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Button height and padding. | | `disabled` | `boolean` | `false` | Disables interaction and applies the disabled treatment. | | `loading` | `boolean` | `false` | Shows a spinner, sets `aria-busy`, and ignores clicks. | | `className` | `string` | `''` | Extra classes merged onto the root element. | | `type` | `'button' \| 'submit' \| 'reset'` | `'button'` | Native button type. | All native `