suaxe247
search
Ctrlk
  • 🖌️Sửa Xe 247 CHUỖI CỬA HÀNG SỬA XE MÁY UY TÍN
  • INTRODUCTION
    • Design Principles
    • Brand Guidelines
    • How updates work
    • Accessibility
  • identity
    • Logos
    • Colors
    • Typography
    • Imagery
  • Components
    • Icons
    • Buttons
    • Inputs
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Components

Buttons

Buttons are used to perform actions in the product.

hashtag
Default

https://5ccbc373887ca40020446347-geedzbiswp.chromatic.com/iframe.html?id=button--basic&args=size:medium;containsIcon:false&viewMode=story5ccbc373887ca40020446347-geedzbiswp.chromatic.comchevron-right
circle-info

Good to know: you can embed a Storybook canvas by simple pasting the canvas link and hitting enter.

hashtag
Primary

https://5ccbc373887ca40020446347-geedzbiswp.chromatic.com/iframe.html?id=button--basic&args=size:medium;containsIcon:false;appearance:primary&viewMode=story5ccbc373887ca40020446347-geedzbiswp.chromatic.comchevron-right

hashtag
Secondary

https://5ccbc373887ca40020446347-geedzbiswp.chromatic.com/iframe.html?id=button--basic&args=size:medium;containsIcon:false;appearance:secondary&viewMode=story5ccbc373887ca40020446347-geedzbiswp.chromatic.comchevron-right

These examples are taken from the excellent Storybook Example Design Systemarrow-up-right.

Last updated 2 years ago

  • Default
  • Primary
  • Secondary
<Button
    label="Label"
    size="medium"
    kind="default"
    onClick={doTheThing}
/>
<Button
    label="Label"
    size="medium"
    kind="primary"
    onClick={doTheThing}
/>
<Button
    label="Label"
    size="medium"
    kind="secondary"
    onClick={doTheThing}
/>