npm.io
1.18.1 • Published 4 months ago

@umbraco-ui/uui-button-group

Licence
MIT
Version
1.18.1
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
151

uui-button-group

npm

See it in action

Preview the component on Storybook

Installation

ES imports
npm i @umbraco-ui/uui-button-group

Import the registration of <uui-button-group> via:

import '@umbraco-ui/uui-button-group';

When looking to leverage the UUIButtonGroupElement base class as a type and/or for extension purposes, do so via:

import { UUIButtonGroupElement } from '@umbraco-ui/uui-button-group';

Usage

<uui-button-group>
  <uui-button look="primary">development</uui-button>
  <uui-button look="secondary">staging</uui-button>
  <uui-button look="success">live</uui-button>
</uui-button-group>

Keywords