Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

dat-icons

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat-icons

Icons and other SVGs for dat-data.com

latest
Source
npmnpm
Version
2.5.2
Version published
Weekly downloads
57
-19.72%
Maintainers
2
Weekly downloads
 
Created
Source

dat-icons

NPM version

SVG icons for dat project and related projects.

Usage

const svgSprite = require('dat-icons')
var el = svgSprite()
document.body.appendChild(el)

Make sure to include this sprite in your page as the first element after the <body> opening tag.

Icons can later be referenced like so:

<svg><use xlink:href="#daticon-happy-dat"></use></svg>

If this looks unfamiliar, read more about an SVG workflow using SVG sprites and <use> here.

Icon Names

  • daticon-clipboard
  • daticon-create-new-dat
  • daticon-delete
  • daticon-download
  • daticon-edit-dat
  • daticon-file
  • daticon-folder
  • daticon-happy-dat
  • daticon-hexagon-down
  • daticon-hexagon-outlines
  • daticon-hexagon-pause
  • daticon-hexagon-resume
  • daticon-hexagon-up
  • daticon-hexagon-x
  • daticon-import-dat
  • daticon-link
  • daticon-loading
  • daticon-letter
  • daticon-lock
  • daticon-menu
  • daticon-network
  • daticon-open-in-desktop
  • daticon-open-in-finder
  • daticon-plus
  • daticon-question
  • daticon-sad-dat
  • daticon-star-dat
  • daticon-edit
  • daticon-info
  • daticon-gear
  • daticon-search

Build

to build SVG sprite:

npm install
npm run build-icons

Keywords

svg

FAQs

Package last updated on 12 Feb 2018

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