Example Design System - With Variants

  • Principles
  • Styles
  • Components

Powered by DesignSystemHub

Button
ButtonLegacy
Card
Icon
Input
RadioButton

Button

A Button component

Open in FigmaOpen in GitHub
Primary

Variants

Primary

A description about the button

Open in Figma
Primary

Basic

A description about the button

Open in Figma
Basic

Black

A description about the button

Open in Figma
Black

Props

NameTypeDefaultDescription
childrenReact.ReactNode
The content of the button
variant'primary' | 'black' | 'basic'
onClick() => void | Promise<void>() => {}
Optional

On This Page

  • Variants
    • Primary
    • Basic
    • Black
  • Props