Installation
TACO UI
TACO UI is a system of React components highly based on tailwindcss, it is available as an npm package.
See full documentation here via storybook
npm:
npm install @elpassion/taco
yarn:
yarn add @elpassion/taco
Copy files
In order to use this library you'll have to generate tokens file and wire it to your tailwind config with generateConfigFunc()
.
Optionally (WIP) (Now it's still required for some compoennts to work)
You can use icons locally from icons font or use cdn https://elpassion-design-system.s3.eu-west-1.amazonaws.com/fonticon.ttf
TODO:
- Allow importing font file from npm package
Then use it in your app for example:
import React from 'react';
import Button from '@elpassion/taco';
export default function App() {
return (
<div className="App">
<Button {...props} />
</div>
);
}