@kittl/ui
v0.0.6
Published
Kittl UI components.
Keywords
Readme
@kittl/ui
Kittl UI components.
This contains all of the Kittl UI components, as well as auto-generated icon components
Also ships with @kittl/ui-tokens included
Usage
This package can be imported in 3 ways:
Tree-shaking friendly
// esm
import { Button } from '@kittl/ui/Button';// cjs
const { Button}If you use this approach, you must import the style loader separately once somewhere on your page:
import '@kittl/ui/styles';Convenient
// esm
import { Button } from '@kittl/ui';// cjs
const { Button } = require('@kittl/ui');Browser
<script src="https://"></script>Development
pnpm install
pnpm devThen open the demo/index.html file in your browser to see the components in action.
