button
Native button with variant/size hooks and reactive press state.
A headless button with unified press behavior and styling hooks.
import { Button } from '@fluixi/button';
<Button variant="solid" size="md" onClick={onClick}>Save</Button>
<Button disabled>Disabled</Button>
variant—solid|soft|outline|ghost(exposed asdata-variant).size—sm|md|lg(exposed asdata-size).- Reflects
data-disabledand a reactivedata-pressed(via@fluixi/primitivespress) for styling. - Forwards
ref,type(defaults tobutton), event handlers and all other props.
Visual styling is supplied by the design tokens / styling layer; the component itself is headless.
Part of the Fluixi UI component library. Made with ☕ by the Fluixi team.