magna-react
/
2.3.4
magna-react 2.3.4
Install from the command line:
Learn more about npm packages
$ npm install @cisco-sbg-ui/magna-react@2.3.4
Install via package.json:
"@cisco-sbg-ui/magna-react": "2.3.4"
About this version
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
Magna-React is provided as an npm package from GitHub packages. To configure for use:
- Go to https://github.com/settings/tokens
- Click
Generate new token
- Enter a note to identify the token
- Select the
read:packages
scope
-
Click
Generate
-
Copy the token
-
Add the repository to your
~/.npmrc
file:
@advthreat:registry=https://npm.pkg.github.com
- Paste the following in to your
~/.npmrc
file, replacing TOKEN with your new token:
//npm.pkg.github.com/:_authToken=TOKEN
- Run
npm install @cisco-sbg-ui/magna-react
-
Remove
@cisco-sbg-ui/atomic-react
from package.json -
Swap imports/babel config from atomic-react to magna-react
Feel free to reach out to Robert Harris (roberha2) via Webex Teams to discuss contributions.
npm ci
npm run dev