Button

Interactive button component with multiple variants and sizes. Features the signature FUI aesthetic with sharp edges, uppercase tracking, and glow effects on the primary variant.

Variants

Preview

Sizes

Preview

Loading State

Preview

Disabled

Preview

Props

PropTypeDefaultDescription
variant"primary" | "secondary" | "outline" | "ghost" | "destructive" | "link""primary"Visual style variant of the button.
size"sm" | "md" | "lg" | "icon""md"Size of the button.
loadingbooleanfalseShow loading spinner and disable interactions.
disabledbooleanfalseDisable the button.
classNamestring-Additional CSS classes.

Accessibility

  • Uses native <button> element
  • Supports keyboard focus with visible ring
  • Disabled state prevents click and tab focus
  • Loading state adds disabled attribute