A set of styles and components to be used for the development of the Zanichelli.it frontend.
To install the package, run:
yarn add @zanichelli/zanichelli-it-frontend-kit
In your project import the library by adding the following line to your index.tsx
or index.js
file:
import '@zanichelli/zanichelli-it-frontend-kit';
or import the specific components you need:
import '@zanichelli/zanichelli-it-frontend-kit/zanit-menubar';
Import the styles in your main stylesheet:
@import '@zanichelli/zanichelli-it-frontend-kit/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.css';
or
@import '@zanichelli/zanichelli-it-frontend-kit/style.css';
The components are built using Stencil.js and are available as web components. You can use them in any framework or even in plain HTML.
Their documentation is available in the src/components
folder, where you can find a readme.md
file for each component.
The available components are those exported in the package.json file.