This package has been deprecated

Author message:

This package has been replaced by @guardian/source-react-components.

@guardian/src-icons
TypeScript icon, indicating that this package has built-in type declarations

3.13.0 • Public • Published

Icons

📣 For more context and visual guides relating to icon usage, visit the Source Design System website

Install

$ yarn add @guardian/src-icons

Use

Our icon SVGs are exported as React components.

import { SvgCheckmark } from '@guardian/src-icons';

React.render(<SvgCheckmark />, rootElement);

SVGs

The svgs directory contains the equivalent svg files for each of the icons. Mostly these are pulled in from Figma using the get-icons script, with a few notable exceptions.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @guardian/src-icons

    Weekly Downloads

    27

    Version

    3.13.0

    License

    Apache-2.0

    Unpacked Size

    246 kB

    Total Files

    269

    Last publish

    Collaborators

    • joecowton1
    • guardian-developers
    • akash1810
    • reetta
    • sndrs
    • mxdvl