ds-icons 3.4.0
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-icons@3.4.0
Install via package.json:
"@navikt/ds-icons": "3.4.0"
About this version
Lagacy-icons created and previously used by NAVs designsystem
This package will not recieve any new icons and we recommend transitioning over to our new icon-package @navikt/aksel-icons.
yarn add @navikt/ds-icons
npm install @navikt/ds-icons
Use as a regular React-component.
Tip: Use the title
prop for accessible icons.
import { Star } from "@navikt/ds-icons";
function App() {
return <Star title="star" />;
}