# @guardian/src-button

> 📣 For more context and visual guides relating to button usage, visit the [Source Design System website](https://www.theguardian.design/2a1e5182b/p/435225-button/)

Latest version **3.13.0** (published 2022-01-18) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @guardian/src-button
pnpm add @guardian/src-button
yarn add @guardian/src-button
bun add @guardian/src-button
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.13.0 |
| Published | 2022-01-18 |
| First published | 2019-07-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 59.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 98 |
| Maintainers | unmesh_malvankar, zekehg, rtyley, dlawes, ghaberis, jsherbert, david.furey.gu, tonymccraeguardian, jlieb10, guardian-developers, simonadcock-gu, maxspencer, akash1810, reetta, ajwl, tomrf1, mchv, itsibitzi, justinpinner, jranks123, nicl, philmcmahon, tjmw, thaliasilver, sndrs, sam.hession, jfsoul, 0x101, frankie_hammond, aoifemcl15, ioanna0, mxdvl, rhysmills, jamie-lynch, amyhughes-gu, oliverlloyd, jacobwinch, dskamiotis, marjank, annabeddow, fweddi, michaelclapham_gnm, olly.namey.guardian |

## Links

- npm: https://www.npmjs.com/package/@guardian/src-button
- Repository: https://github.com/guardian/source
- Homepage: https://github.com/guardian/source#readme
- Issues: https://github.com/guardian/source/issues
- npm.io page: https://npm.io/package/@guardian/src-button

## Dependencies (1)

- [@guardian/src-helpers](https://npm.io/package/@guardian/src-helpers.md) ^3.13.0

## Recent versions

- 3.13.0 (latest) — 2022-01-18
- 3.2.1-rc.5 (next) — 2021-02-22
- 3.12.1 — 2021-11-17
- 3.12.0 — 2021-11-08
- 3.11.0 — 2021-11-05
- 3.10.3 — 2021-11-03
- 3.10.2 — 2021-10-27
- 3.10.2-alpha.1 — 2021-10-18
- 3.10.1 — 2021-10-14
- 3.10.0 — 2021-10-14
- 3.9.1 — 2021-10-07
- 3.9.1-rc.1 — 2021-10-07
- 3.9.1-rc.0 — 2021-10-07
- 3.9.0 — 2021-08-26
- 3.9.0-rc.1 — 2021-08-26
- … 111 more at https://npm.io/package/@guardian/src-button/versions

## README

# Buttons

📣 For more context and visual guides relating to button usage, visit the [Source Design System website](https://www.theguardian.design/2a1e5182b/p/435225-button/)

## Install

```sh
$ yarn add @guardian/src-button
```

## Use

### API

See [storybook](https://guardian.github.io/source/?path=/docs/source-src-button-button--playground).

### How to use

For context and visual guides relating to button usage see the [Source Design System website](https://theguardian.design/2a1e5182b/p/435225-button).

## Supported themes

### Standard

-   `default`
-   `brand`
-   `brandAlt`

### Custom

-   `readerRevenue`
-   `readerRevenueBrand`
-   `readerRevenueBrandAlt`

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