Socket
Socket
Sign inDemoInstall

@momentum-ui/icons-rebrand

Package Overview
Dependencies
0
Maintainers
16
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @momentum-ui/icons-rebrand

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


Version published
Weekly downloads
75
decreased by-6.25%
Maintainers
16
Created
Weekly downloads
 

Readme

Source

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-rebrand

or

npm install @momentum-ui/icons-rebrand --save

Usage

CSS

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

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

Scss

  1. Copy the "@momentum-ui/icons-rebrand/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-rebrand/scss/momentum-ui-icons-rebrand.scss" into your main entry Scss file AFTER the variables.

@import '@momentum-ui/icons-rebrand/scss/momentum-ui-icons-rebrand.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>

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.

Keywords

FAQs

Last updated on 14 Dec 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc