Skip to content

VBtnGroup API

组件页面

属性

名称类型默认值
base-color
Sets the color of component when not focused.
border
Designates the border-radius applied to the component. This can be xs, sm, md, lg, xl.
color
Applies specified color to the control - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page
density
调整组件使用的垂直高度。
divided
Add dividers between children v-btn components.
elevation
组件的海拔可接受 0 到 24 之间的值。你可以在 elevation page 浏览更多信息。
rounded
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page .
tag
指定在根元素上使用的自定义标签。
theme
Specify a theme for this component and all of its children.
tile
Removes any applied border-radius from the component.
variant
Applies a distinct style to the component.

插槽

default
默认Vue 插槽。

SASS 变量

名称默认值
$btn-group-background
$btn-group-border
$btn-group-border-color
$btn-group-border-radius
$btn-group-border-style
$btn-group-border-thin-width
$btn-group-border-width
$btn-group-color
$btn-group-elevation
$btn-group-height
$btn-group-theme
$btn-group-tile-border-radius