docbrown/app/javascript/crayons/Button/__stories__/buttons.mdx
ludwiczakpawel 086a53ba93
Storybook updates (#15848)
* updates

* updating doc

* Fixed broken documentation in Storybook stories.

* bring back a element

* md --> mdx

* c-* doc update

Co-authored-by: Nick Taylor <nick@dev.to>
2022-01-14 11:06:23 +01:00

14 lines
558 B
Text

## Buttons
Use Danger style only for destructive actions like removing something. Do not
use it for, for example “unfollow” action.
If you have to use several buttons together, keep in mind you should always have
ONE Primary button. Rest of them should be Secondary and/or Outlined and/or Text
buttons.
It is ok to use ONLY Secondary or outlined button without being accompanied by
Primary one.
For Stacking buttons (vertically or horizontally) please use 8px spacing unit
for default size buttons (no matter if stacking horizontally or vertically).