How to install react-luminui?
Using npm:
npm i @lumin-ui/react lumin-ui
Installing from this repository:
npm i git+https://github.com/Dakauann/react-luminui.git git+https://github.com/Dakauann/lumin-ui.git
Using yarn:
yarn add @lumin-ui/react lumin-ui
Using pnpm:
pnpm add @lumin-ui/react lumin-ui
Tailwind configuration
module.exports = {
//..
plugins: [require('lumin-ui')]
};
Usage
import { Button } from '@lumin-ui/react';
export default function App() {
// variants: primary, secondary, ghost, outline and warning
return (
<div className="bg-gray-100 min-h-screen">
<Button variant="primary">Click me</Button>
</div>
);
}