design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Add support for icon font

Open HaakonSvane opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Mobile development (React Native in particular) requires a little work for implementing SVG graphics compatibility. A sustainable solution to this problem would be to expose EDS icons as a font.

Describe the solution you'd like

Exposure of the EDS icons as a font (preferably TTF or OTF for cross-platform compatibility.)

Describe alternatives you've considered

Third-party packages for implementing SVG graphic support for mobile development. This introduces unnecessary dependencies in our projects.

Additional context

Whether or not the Icons package also exposes an Icon React component is up to your philosophy, but if you decide to keep this in eds-core-react, a codepoints file would have to be accompanied with the icon font so that a client can map between icon names and codepoints.

HaakonSvane avatar Mar 06 '23 15:03 HaakonSvane