Skip to content

Icons

Icons are categories on two main groups and comes in two sizes each:

Primary Icons

<Button icon="chevron_right" text="Button" />

Secondary Icons

import { hamburger } from `@dnb/eufemia/icons`
<Button icon={hamburger} text="Button" />

Primary Icons are used inside of other custom Components and are imported by default.

It is recommended to use the Icon Component to display icons for best accessibility.


Edit on GitHub