@infineon/design-system-bootstrap
v2.1.6
Published
Infineon design system bootstrap components
Downloads
278
Readme
[DEPRECATED] Infineon Design System Bootstrap Components
About The Project
As part of the Infineon brand guidelines, the Infineon Digital Design System supports designers, developers and project managers to build user interfaces faster and better – with the ultimate goal to create a coherent and optimal user journey across all internal and external Infineon digital touchpoints.
This repository contains an Bootstrap implementation of Infineons Digital Design System and it's Storybook sourcecode.
Use it to build & run storybook and distribute the Bootstrap SCSS.
Built With
Getting Started
Prerequisites
Installation on React, Vue or Angular
With NPM
npm install --save @infineon/design-system-bootstrap
With Yarn
yarn add @infineon/design-system-bootstrap
Import the module inside your entry point file.
For React: index.js For Vue: main.js For Angular: main.ts
import "@infineon/design-system-bootstrap";
Installation of Fontawesome
- Send an email to [email protected] to get the fontawesome token key. Then execute these two commands:
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
npm config set "//npm.fontawesome.com/:_authToken" <PASTE KEY HERE>
Additional Fontawesome installation instructions can be found here:
For Angular: https://fontawesome.com/v5/docs/web/use-with/angular For Vue https://fontawesome.com/v6/docs/web/use-with/vue/ For React: https://fontawesome.com/v6/docs/web/use-with/react/
Installation of SASS
For React projects only, run:
npm install sass
Change Public folder as a temporary solution for React only
Copy (not move!) the:
node_modules -> @infineon -> design-system-bootstrap -> public folder
inside
node_modules -> @infineon -> design-system-bootstrap -> src folder
Usage
Explore our components in Storybook.
https://storybook-bootstrap.icp.infineon.com
Local Development
Installation
Install all the modules and dependencies listed on the package.json
file with:
yarn install
or
npm install
Build Storybook
To deploy Storybook, we first need to export it as a static web app.
To do so, we can use the inbuild build-storybook
command with npm
or yarn
.
yarn storybook-build
or
npm storybook-build
This will generate a static Storybook in the storybook-static
directory.
Start Storybook
To start storybook, simply run the inbuild command storybook-start
with npm
or yarn
.
yarn storybook-start
or
npm storybook-start
storybook-start
also executes watch-css
and watch-storybook
which automatically update storybook on code change.
Contact
WebEx
Yanchev Tihomir Werther Kai