githubEdit

πŸ”˜Buttons

Buttons are interactive elements that allow users to trigger actions. Valence provides a variety of button components to suit different use cases.

Available buttons

Shared features

All buttons share common props inherited from GenericButtonProps, including:

  • variant - The visual style (subtle, light, filled, outlined, or paper)

  • size - The size class (xs, sm, md, lg, or xl)

  • radius - The border radius size

  • disabled - Whether the button is disabled

  • loading - Whether the button is in a loading state

  • float - Allows the button to float like a FAB (Floating Action Button)

Last updated