crispypix-css
0.2.0 • Public • Published
- Install the package:
npm install crispypix-css
- Import the configuration of Tailwind in your
tailwind.config.js
:
const crispypixConfig = require('crispypix-css/tailwind.config.js');
module.exports = {
presets: [crispypixConfig],
}
- Import the styles in your main CSS file:
@import 'crispypix-css/styles.css';
- Use the components in your application:
import { CrispyButton } from 'crispypix-css';
function App() {
return <CrispyButton color="primary" size="medium">Click me</CrispyButton>;
}
Package Sidebar
Install
Weekly Downloads