@guardian/src-icons
v3.13.0
Published
📣 For more context and visual guides relating to icon usage, visit the [Source Design System website](https://www.theguardian.design/2a1e5182b/p/74a822-overview)
Downloads
94
Keywords
Readme
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.