i.ai-design-system
v0.7.7
Published
i.AI Design System
Readme
i.AI Design System
The i.AI Design System is based on gov.uk design system, customised for the i.AI brand and with additional components.
Legacy version of i.AI Design System
The previous version of the i.AI Design System has been moved to the version-0.5.x branch.
Installation
- Install the i.AI design system using
npm install --save i.ai-design-system - Import the CSS into your main CSS file, e.g.
@import "./node_modules/i.ai-design-system/dist/iai-design-system.css"; - Add the iai-design-system.js script to your base HTML template
Documentation
The documentation is hosted online. This can also be viewed locally by running:
npm install
npm run build
npm run docsContributing
To run the build:
npm install
npm run buildTo publish to NPM, first update the version in package.json. Then login and run:
npm publish