//
Displays a button or a component that looks like a button.
bun add xiod-ui1import { Button } from "xiod-ui/button";1<Button>2</Button>| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default"| "link"| "secondary"| "destructive"| "destructive-outline"| "ghost"| "outline"| null| undefined | default | |
size | "default"| "sm"| "lg"| "xs"| "xl"| "icon"| "icon-lg"| "icon-sm"| "icon-xl"| "icon-xs"| null| undefined | default | |
render | ReactElement<unknown, string| JSXElementConstructor<any>>| ComponentRenderFn<HTMLProps, {}>| undefined | - | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render. |