-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Nariman Bortov edited this page Jul 6, 2023
·
7 revisions
The React UI component library based on Tailwind CSS V3 for fast and accessible development of gorgeous interfaces.
Install via npm
npm i -D @narimanb/wreactui
Install via yarn
yarn add -D @narimanb/wreactui
Add
wreactui
in yourtailwind.config.js
file.
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
const wreactui = require('@narimanb/wreactui/config');
module.exports = wreactui({
content: ['./src/**/*.{html,js}'],
theme: {
extend: {},
},
plugins: [],
});
Place Wreactui
at the root of your project (the order doesn't matter, as long as your application is inside).
// index.js
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { Wreactui } from '@narimanb/wreactui';
ReactDOM.render(
<Wreactui>
<App />
</Wreactui>,
document.getElementById('root')
);
Use components inside your project
import { Button } from '@narimanb/wreactui';
function App() {
return <Button>Hi there!</Button>;
}
export default App;
- Alert
- Avatar
- Backdrop
- Badge
- Button
- Card
- Dropdown
- Helper Text
- Input
- Label
- Modal
- Pagination
- Select
- Table
- Textarea
- Transition
- Wreactui
dark & light theme
dashboard
- Install Node 18 or later. You can use the package manager of your choice.
- Clone this repository
git clone https://github.com/narimanb/wreactui.git
. - Run
npm ci
to install the dependencies. - Run
npm run storybook
- It will start a local server at
localhost:6006
with all components rendered.
Original Project Tailwind CSS V2 Windmill React UI Projects using it: Windmill Dashboard React
Original source: Estevan Maito https://windmillui.com/react-ui