Button Group
Displayed as a button group, can be used to group a series of similar operations.
Usage
type
Button group type, which overrides the type of button. The default is solid
.
state
Button group state, which overrides the state of button. The default is info
.
shapes
Button group shape, which overrides the shape of button. The default is rounded
.
size
Button group size, which overrides the size of button. The default is medium
.
vertical
You can use the vertical attribute to define whether the button-group is vertical.
disabled
You can use the disabled attribute to define whether the button-group is disabled.
Props
Name | Type | Default | Description |
---|---|---|---|
type | solid | white | outline | solid | Set custom type attribute. |
shape | rounded | pilled | plain | rounded | Set button group shape. |
size | mini | small | medium | large | medium | Set button group size. |
state | info | success | warning | danger | info | Set button group state. |
vertical | boolean | false | Set native type attribute. |
disabled | boolean | false | Disable the button group. |
Slots
Name | Parameters | Description |
---|---|---|
default | () | Customize default content. |