@guardian/source

8.0.1 • Public • Published

@guardian/source

An NPM package containing design foundations and robust, accessible React components from the Guardian's Source Design System.

npm

Install

$ pnpm add @guardian/source

or

$ yarn add @guardian/source

or

$ npm install @guardian/source

[!NOTE] Use of the React components will require @emotion/react

Usage

Full documentation is available in the Source storybook.

foundations

Source design foundations (e.g. colour, spacing, typography etc) can be imported from the foundations subpath:

import { palette } from '@guardian/source/foundations`

react-components

A set of robust, accessible, React components can be imported from the react-components subpath:

import { Button } from '@guardian/source/react-components`

Contributing

We welcome contributions to Source! See our contributing and Storybook docs for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i @guardian/source

Weekly Downloads

2,884

Version

8.0.1

License

Apache-2.0

Unpacked Size

1.2 MB

Total Files

743

Last publish

Collaborators

  • guardian-developers
  • akash1810
  • reetta
  • sndrs
  • ashcorrguardian