Global button styles, variants, sizes, and interaction states powered by Flexiwind utilities.

Prerequisites

Create a dedicated file such as button-styles.css for button variants. Keep button styles centralized so all intents stay consistent across the app.

Load this file after base token definitions and before app-specific overrides. This order ensures variant classes pick up your final theme values.

Variants

Each variant defines the visual treatment of the button. Intents (such as primary, secondary, success, or danger) control semantic meaning. Combine both to build a predictable button system.

Solid variants

Outline variants

Soft variants

Ghost variants