WUI logo

ButtonGroup

Buttons grouped without space.

version

5.0.0-alpha.16

install

yarn add @welcome-ui/button-group

usage

import { ButtonGroup } from '@welcome-ui/button-group'

Usage #

ButtonGroup component allows you to set the size and variant of all buttons within it and removing the border radius of the its button childrens.

Overload #

ButtonGroup overloads the child components properties.

Properties #

NameType(s)DefaultRequired
disabled
Boolean

Disable all your buttons components

size
"xxs"
"xs"
"sm"
"md"
"lg"
variant
"disabled"
"primary"
"secondary"
"tertiary"
"primary-info"
"secondary-info"
"primary-success"
"secondary-success"
"ghost"
"primary-warning"
"secondary-warning"
"primary-danger"
"secondary-danger"

Packages #

Dependencies #
Peer dependencies #

Previous

Button