Toggle Group

A group of toggle buttons.

Installation

npx nx g @spartan-ng/cli:ui toggle-group

Usage

import {
 BrnToggleGroupItem
 BrnToggleGroup
} from '@spartan-ng/brain/toggle-group';
import {
 HlmToggleGroupItem
 HlmToggleGroup
} from '@spartan-ng/helm/toggle-group';
<brn-toggle-group hlm nullable="true">
  <button aria-label="Bold" value="bold" hlmToggleGroupItem>
 	 <ng-icon hlm size="sm" name="lucideBold" />
  </button>
</brn-toggle-group>

Examples

Outline

Small

Large

Disabled

Tooltip Toggle