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

@momentum-ui/core

Package Overview
Dependencies
Maintainers
0
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@momentum-ui/core

Cisco Momentum UI CSS Framework

  • 19.16.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Momentum UI Core

CircleCI npm (scoped) license This project is using Percy.io for visual regression testing.

@momentum-ui/core

Momentum UI Core is a UI framework for implementing Cisco Momentum Design into web apps and sites.

Table of Contents

Install

Install and manage the Momentum UI Core using NPM. You may use yarn or npm. By default, yarn/npm installs packages to node_modules/.

npm install @momentum-ui/core --save

or

yarn add @momentum-ui/core

Usage

CSS

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

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

Scss

  1. Copy the "@momentum-ui/icons/fonts" directory to the "fonts" directory for your site.
  2. Add an "$brand-font-folder, $icon-font-path, and $images-path" variables to your app's variables.scss file.
$brand-font-folder: 'path/to/fonts/directory';
$icon-font-path: 'path/to/fonts/directory';
$images-path: 'path/to/images/directory';
  1. Import "@momentum-ui/core/scss/momentum-ui.scss" into your main entry Scss file AFTER the variables.

@import '~@momentum-ui/core/scss/momentum-ui';

  1. Compile your Scss using your static compiler or bundler (Webpack, Grunt, Gulp, etc.)

Contribute

See the contributing file!

PRs accepted.

License

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

Keywords

FAQs

Package last updated on 10 Jul 2024

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