Function: buttonGroupVariants()
@arolariu/components / buttonGroupVariants
Function: buttonGroupVariants()
buttonGroupVariants(
options?):string
Defined in: components/ui/button-group.tsx:51
Returns the CSS class list for a button group root.
Parameters
options?
Readonly<ButtonGroupVariantOptions> = {}
Variant options used to derive the generated class string.
Returns
string
The merged class name string for the requested orientation.
Example
const className = buttonGroupVariants({orientation: "vertical"});
// was this page useful?