Button

Buttons are one of the most common and basic user interface elements. Buttons supports four appearances: text, outlined, tonal, and filled; and three colors: primary, error, and neutral. Combining appearances and colors gives you 12 different variants. By default, a button has no color. To add colors, you can use CSS classes like flexy-button--primary or flexy-button--tonal-primary.

Examples

Default

Colors

Primary Buttons


Error Buttons


Neutral Buttons


Sizes

Supported Sizes: xxs, xs, sm, lg, xl, xxl

Icon Prefix

Icon Button

Customization

Supported Classes

Supported Tokens

Last modified: Oct 19, 2025: refactor(docs): Reorganize the folder structure of component examples (8271c2e)