🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@sikt/sds-icons

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sikt/sds-icons

Sikt designsystem uses [Phosphor Icons](https://phosphoricons.com/).

3.2.0
latest
npm
Version published
Weekly downloads
4.6K
27.08%
Maintainers
3
Weekly downloads
 
Created
Source

@sikt/sds-icons

Sikt designsystem uses Phosphor Icons.

Consume

npm i -s @sikt/sds-icons

React

import { <IconName>Icon } from "@sikt/sds-icons";
import "@sikt/sds-icons/dist/index.css";

<<IconName>Icon />;

Custom icon

import { <IconName> } from "@phosphor-icons/react";

<<IconName> className="sds-icon" aria-hidden="true" />;

Stylesheets & custom markup

Import stylesheet:

@import url("@sikt/sds-icons");

Create custom markup:

<img
  class="sds-icon"
  aria-hidden="true"
  src="@sikt/sds-icons/dist/assets/<icon-name>.svg"
/>

Or use sprite:

<svg class="sds-icon" aria-hidden="true">
  <use href="@sikt/sds-icons/dist/sds-icons.svg#<icon-name>"></use>
</svg>

Custom icon

<img
  class="sds-icon"
  aria-hidden="true"
  src="@phosphor-icons/core/assets/regular/<icon-name>.svg"
/>

Contribute

Add new icons by adding name to src/icons.config.js.

FAQs

Package last updated on 08 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts