Icons
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.