npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@momentum-ui/icons

v8.33.0

Published

The Cisco Momentum UI Icons library allows developers to easily incorporate Webex Icons and CSS into any application.

Downloads

15,582

Readme

momentum-ui-icons

CircleCI npm (scoped) license

Momentum UI Icons

Momentum UI Icons is a full suite of the pictographic font and svg icons.

Table of Contents

Background

Momentum UI Icons is a full suite of the pictographic icons for easy scalable vector graphics on websites and web applications, created and maintained by the Spark UI Design Language team. It contains the Scss, CSS, fonts and SVG files needed for implenting the icons indepented of any other framework. It is also consumed and published as part of the Momentum UI Toolkit.

Install

Install and manage the Spark UI Toolkit's icons using NPM. You may use yarn or npm. By default, yarn/npm installs packages to node_modules/.

yarn add @momentum-ui/icons

or

npm install @momentum-ui/icons --save

Usage

CSS

  1. Copy the "@momentum-ui/icons/fonts" directory to the "fonts" directory for your site.
  2. Copy the "@momentum-ui/icons/css/momentum-ui-icons.min.css" to your styles/css directory.
  3. In the <head> of your HTML reference the location of your momentum-ui-icons.min.css.

<link rel="stylesheet" href="path/to/momentum-ui-icons/css/momentum-ui-icons.min.css">

Scss

  1. Copy the "@momentum-ui/icons/fonts" directory to the "fonts" directory for your site.
  2. Add an "$icon-font-path" variable to your variables.scss file.

$icon-font-path: 'path/to/fonts/directory';

  1. Import "@momentum-ui/icons/scss/momentum-ui-icons.scss" into your main entry Scss file AFTER the variables.

@import '@momentum-ui/icons/scss/momentum-ui-icons.scss';

  1. Compile your Scss using your static compiler or bundler

CSS API

Basic Icons

You can place Momentum UI Icons just about anywhere using the CSS Prefix icon- and the icon's name. Momentum UI Icons is designed to be used with inline elements (we like the <i> tag for brevity, but using a <span> is more semantically correct).

<i class="icon icon-camera_16"></i>

Icon Sizes

All of the Momentum UI Icons are suffixed with their size. i.e. icon-camera_16 The CSS will automatically size the icons according to this size.

Fixed Width Icons

Use icon-fw to set icons at a fixed width. Great to use when different icon widths throw off alignment. Especially useful in things like nav lists & list groups.

List Icons

Use icon-ul and icon-li to easily replace default bullets in unordered lists.

Animated Icons

Use the icon-spin class to get any icon to rotate, and use icon-pulse to have it rotate with 8 steps.

Rotated & Flipped

To arbitrarily rotate and flip icons, use the icon-rotate-* and icon-flip-* classes.

Contribute

Icon contributions are currently only accepted from the Spark UI Design team.

License

© 2014-2020 Cisco and/or its affiliates. All Rights Reserved.