Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tb-icons

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tb-icons

A classified icons set that consists of a part of Material Design icons and some original icons by TB-UI team.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

TB-ICONS: Find & Copy Playing

A classified icons set that consists of a part of Material Design icons and some original icons by TB-UI team. Available in Icon Fonts and SVG Symbols.

TB-Icons Logo

Installation

npm i tb-icons --save

Font Icons Usage

Move the fonts with Gulp:

gulp.task('move-fonts', function () {
  gulp.src('node_modules/tb-icons/dist/fonts/**/*')
    .pipe(gulp.dest('static/fonts/'))
})

Include the style in Stylus:

@import 'tb-icons'

Get an icon in Jade:

span.icon.icon-t

Check out the font icons page to see all font icons.

SVG Symbols Usage

Inline combined SVG reference into body, then drop a <use> element snippet like this:

<svg role="img" class="ss-t">
  <use xlink:href="#t"></use>
</svg>

Or directly link the external svg-symbols file:

<svg role="img" class="ss-t">
  <use xlink:href="#{svg-path}/svg-symbols.svg#t"></use>
</svg>

All SVG symbols available on the SVG symbols page.

Development

The source files can be found in the src directory.

While developing, you should use the command gulp && gulp serve to create a watcher and run a docs server with livereload.

Then, to update the icon fonts, SVG font, and the icon name-unicode pairs store, preview immediately on localhost:8001.

Lastly, commit your great works, release a new version, use gulp deploy to publish docs to GitHub Pages.

License

This work is licensed under the MIT license.

FAQs

Package last updated on 07 Jun 2016

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