View as Markdown

API reference: @salmonui/buttons/button

ButtonGroupfunction

import { ButtonGroup } from '@salmonui/buttons/button';
function ButtonGroup({ children, orientation, attached, variant, tone, size, disabled, className, ...rest }: ButtonGroupProps): ReactElement;

A visual group of buttons: role="group", named by aria-label or aria-labelledby. It adds no keyboard model: every button stays a tab stop. .salmon-button-group with data-orientation and data-attached.