Skip to content
magna-react / 2.3.9

magna-react 2.3.9

Install from the command line:
Learn more about npm packages
$ npm install @cisco-sbg-ui/magna-react@2.3.9
Install via package.json:
"@cisco-sbg-ui/magna-react": "2.3.9"

About this version

Magna-React

Introduction

Magna-React is a React library that implements UI components according to the Atomic design specification (requires VPN) with some Magnetic re-skinning Magnetic Design - Figma Developers can enjoy the following features:

  • Flexible, tree-shakable components
  • Full documentation -- WIP
  • Baked-in accessibility
  • Responsive helpers
  • CSS helpers
  • Form validation
  • Extensibility

Usage

Magna-React is provided as an npm package from GitHub packages. To configure for use:

Generate an access token

  1. Go to https://github.com/settings/tokens
  2. Click Generate new token

generate token

  1. Enter a note to identify the token
  2. Select the read:packages scope

package scope

  1. Click Generate

  2. Copy the token

  3. Add the repository to your ~/.npmrc file:

@advthreat:registry=https://npm.pkg.github.com
  1. Paste the following in to your ~/.npmrc file, replacing TOKEN with your new token:
//npm.pkg.github.com/:_authToken=TOKEN

Installation

  1. Run
npm install @cisco-sbg-ui/magna-react
  1. Remove @cisco-sbg-ui/atomic-react from package.json

  2. Swap imports/babel config from atomic-react to magna-react


Component Development

Feel free to reach out to Robert Harris (roberha2) via Webex Teams to discuss contributions.

DEV ===============

Run Locally

npm ci
npm run dev

Details


Assets

  • magna-react-2.3.9.tgz

Download activity

  • Total downloads 22
  • Last 30 days 2
  • Last week 0
  • Today 0