Skip to main content Skip to docs navigation

Button Solid

Filled interactive elements with solid background colors that create strong visual hierarchy and clear action affordance for primary and contextual user interactions.

This documentation is a work in progress and may contain incomplete or outdated information. If you have any feedback or suggestions, please open an issue on GitHub.

Props

Configurable properties that control the appearance, behavior, and functionality of solid button components.

Solid Buttons

Properties that define the visual state and interactive behavior of solid button elements.

Button Solid example image Button Solid example image

context variant

Controls the visual style and semantic meaning of the button based on its intended purpose and importance.

  • default
  • alternate
  • primary
  • secondary
  • neutral
  • danger
  • success
  • warning
  • info
  • black
  • white

size variant

Controls the dimensional scale and proportional relationships of the button component.

  • large
  • medium
  • small

state variant

Controls the interactive state and visual feedback of the button based on user interaction.

  • idle
  • hover
  • press
  • disabled

has-icon-start boolean

Controls the visibility of an icon element positioned before the button label.

  • true
  • false

icon-start-instance instance-swap

has-icon-start:
true

Specifies which icon component to display when has-icon-start property is enabled.

  • Icon Placeholder

has-badge boolean

Controls the visibility of a badge element positioned after the button label for displaying counts or notifications.

  • true
  • false

is-dropdown boolean

Controls the visibility of a dropdown indicator that signals additional actions or options.

  • true
  • false

has-icon-end boolean

Controls the visibility of an icon element positioned after the button label.

  • true
  • false

icon-end-instance instance-swap

has-icon-end:
true

Specifies which icon component to display when has-icon-end property is enabled.

  • Icon Placeholder