Button

Displays a button or a component that looks like a button. Supports variants, sizes, states, and icon slots.

Variants

Use variant to change the visual style.

Sizes

Use size to control the button size.

States

Disabled and loading states are built in.

With icons

Use leftIcon or rightIcon to add icons.