Components
Button

Button

An interactive element used to trigger actions.

Usage

Examples

With a different color

Use the colorPalette prop to change the color of the button.

<Flex gap="3">
  <Button colorPalette="red" variant="solid">
    Button
  </Button>
  <Button colorPalette="red" variant="subtle">
    Button
  </Button>
  <Button colorPalette="red" variant="outline">
    Button
  </Button>
  <Button colorPalette="red" variant="ghost">
    Button
  </Button>
</Flex>

Previous

Badge

Next

Card