@creation-ui/react v14.1.3
Creation UI
is a design system that lets you build a React powered websites and apps. It's built on top of React and Tailwind CSS and it's fully customizable. It's a great starting point for your next project.
Prerequisites
Creation UI is working with your app's Tailwind CSS and you need to have Tailwind CSS installed in your project - Tailwind CSS Installation.
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18",
"tailwindcss": "^3.0"
},
Installation
To install Creation UI, run command below:
```bash copy
yarn add @creation-ui/react
```
```bash copy
npm i @creation-ui/react
```
```bash copy
pnpm i @creation-ui/react
```
Components
- Autocomplete
- Avatar
- Button
- Checkbox
- Drawer
- Input
- Box
- Button Group
- Dark Mode Toggle inspired by This guy
- Loader
- Loading Overlay
- Modal
- Radio
- Radio Group
- Select
- Status Badge
- Switch
- TextArea
- Theme
- Toggle Group
- Tooltip
Reusable helpers
In development
Configuration
- Add
withTailwindConfig
to yourtailwind.config.js
file:
const withTailwindConfig = require('@creation-ui/react/utils/withTailwindConfig')
module.exports = withTailwindConfig({
content: ['!node_modules/**/*', './**/*.{js,ts,jsx,tsx,mdx}', '*.css'],
})
You can extend all properties as usual.
- Import library's CSS file into your app.
If you're using standard config of
Next.js
, you should import it inpages/_app.js
or similar. If you're using standard config ofcreate-react-app
orVite
, you should import it inindex.js
or similar.
import '@creation-ui/react/index.css'
- Start using it!
import { Button } from '@creation-ui/react'
export default function App() {
return <Button>Click me</Button>
}
2 days ago
2 days ago
8 days ago
1 month ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
7 months ago
9 months ago
6 months ago
6 months ago
9 months ago
8 months ago
9 months ago
9 months ago
10 months ago
9 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago