homecredit-kitdeprecated

Homecredit UI

Usage no npm install needed!

<script type="module">
  import homecreditKit from 'https://cdn.skypack.dev/homecredit-kit';
</script>

README

Homecredit-ui

Home Credit UI

NPM JavaScript Style Guide

Install

npm install --save homecredit-ui

Usage

You can import the whole component library, or use named imports:

import * as Components from 'homecredit-ui'
// use Components.Button, etc.
import { Button } from 'homecredit-ui'
// use Button

You can also import from individual files, which helps with tree-shaking:

import Button from 'homecredit-ui/lib/button'
// use Button

And import stylesheets manually:

import 'homecredit-ui/dist/index.css';

For component documentation, see the docs site.

License

Made with ♥ by Home Credit