Button Reference
Consulte esta subpágina para ver import, available props, exemplo de uso e controles vivos do component.
Button
Primary action component for clicks and typed navigation.
Use when: Use for actions and navigation with consistent visual hierarchy.
Import
import { Button } from "@components/index";Example
<Button title="Save work order" preset="primary" size="md" leadingIcon="check" />
Available Props
titlestring
Visible button label.
preset"primary" | "ghost"
Visual emphasis.
size"md" | "sm"
Button density.
leadingIcon/trailingIconIconName
Optional shared icon rendered before or after the title.
hrefstring
Turns the button into navigation.
Live Preview
Controls
primary
ghost
size: md
size: sm