# @umbraco-ui/uui-button-group

> An element to group buttons.

Latest version **1.18.1** (published 2026-06-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @umbraco-ui/uui-button-group
pnpm add @umbraco-ui/uui-button-group
yarn add @umbraco-ui/uui-button-group
bun add @umbraco-ui/uui-button-group
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.18.1 |
| Published | 2026-06-23 |
| First published | 2021-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 151 |
| Maintainers | nielslyngsoe, julczka, ijacob, madsrasmussen, umbraco-publish |
| Keywords | Umbraco, Custom elements, Web components, UI, Lit, Button, Button Group |

## Links

- npm: https://www.npmjs.com/package/@umbraco-ui/uui-button-group
- Repository: https://github.com/umbraco/Umbraco.UI
- Homepage: https://uui.umbraco.com/?path=/story/uui-button-group
- Issues: https://github.com/umbraco/Umbraco.UI/issues
- npm.io page: https://npm.io/package/@umbraco-ui/uui-button-group

## Dependencies (1)

- [@umbraco-ui/uui-base](https://npm.io/package/@umbraco-ui/uui-base.md) 1.18.1

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 1.18.1 (latest) — 2026-06-23
- 1.17.0-rc.5 (prerelease) — 2026-01-29
- 1.18.0 — 2026-06-02
- 1.17.3 — 2026-05-07
- 1.17.2 — 2026-03-09
- 1.17.1 — 2026-03-06
- 1.17.0 — 2026-02-16
- 1.17.0-rc.4 — 2026-01-27
- 1.17.0-rc.3 — 2026-01-27
- 1.17.0-rc.2 — 2026-01-27
- 1.17.0-rc.1 — 2026-01-26
- 1.17.0-rc.0 — 2026-01-26
- 1.16.0 — 2025-10-17
- 1.16.0-rc.0 — 2025-10-07
- 1.15.0 — 2025-08-25
- … 68 more at https://npm.io/package/@umbraco-ui/uui-button-group/versions

## README

# uui-button-group

[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-button-group?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-button-group)

### See it in action

Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-button-group--docs)

## Installation

### ES imports

```zsh
npm i @umbraco-ui/uui-button-group
```

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

```javascript
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:

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

## Usage

```html
<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>
```

---
_Source: https://npm.io/package/@umbraco-ui/uui-button-group · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
