New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@denali-design/icons

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@denali-design/icons

Denali Icons library consisting of 1000+ icons packaged into a font, SVG, sprite, and JS library.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@denali-design/icons

npm Build Status slack GitHub

What is Denali Icons?

Denali Icons library consisting of 1000+ unified icons packaged into a font, SVG, sprite, and JS library.

https://denali.design

Table of Contents


Installation

NPM

Install via NPM

npm install @denali-design/icons

CDN

Install via jsdelivr

Refer to the usage section for specific examples.


Usage

Font

Link to the CSS font file in the head of your page or app:

<link rel="stylesheet" href="path/to/denali-icons-font.css">

or CDN

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@denali-design/icons/dist/font/denali-icons-font.css">

Include an icon in your app or your page with the following markup:

<span class="d-icon d-pencil"></span>

SVG

Just your basic svg files.

Include with the svg markup from each icon in your app:

<svg
  class="d-icon"
  xmlns="http://www.w3.org/2000/svg"
  width="48"
  height="48"
  viewBox="0 0 48 48"
>
  <title>accessibility</title>
  <g id="Layer_2" data-name="Layer 2">
    <g id="invisible_box" data-name="invisible box">
      <rect width="48" height="48" fill="none" />
    </g>
    <g id="Layer_6" data-name="Layer 6">
      <g>
        <circle cx="24" cy="7" r="4" />
        <path
          d="M40,13H8a2,2,0,0,0,0,4H19.9V27L15.1,42.4a2,2,0,0,0,1.3,2.5H17a2,2,0,0,0,1.9-1.4L23.8,28h.4l4.9,15.6A2,2,0,0,0,31,45h.6a2,2,0,0,0,1.3-2.5L28.1,27V17H40a2,2,0,0,0,0-4Z"
        />
      </g>
    </g>
  </g>
</svg>

or link to the icon through your preferred installation method.

<img class="d-icon" src="/path/to/accessibility.svg" />

SVG Sprite

A SVG sprite is an svg file that contains multiple images. This allows you to include one file, but use many images. Perfect for icon libraries.

NOTE: An alternative installation method is to copy denali-icons.svg into your project.

Include an icon in your app or page with the following markup:

<svg class="d-icon">
  <use xlink:href="path/to/denali-icons.svg#denali"></use>
</svg>

Contributing

See the Contributing guide for details.


License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 12 Apr 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc