2.0.1 • Published 9 months ago
rsc-daisyui v2.0.1
rsc-daisyui
- daisyUI components build with React, Typescript, TailwindCSS and TW CLASSED
- Simple components available in the React Server Component
- No
useEffect,useState, etc and used. - Support for
daisyUI 5andTailwind CSS v4
rsc-daisyui 🌼
Install
Make sure you've installed TailwindCSS and daisyUI. Install the package with npm or yarn or pnpm:
npm
npm install rsc-daisyuiyarn
yarn add rsc-daisyuipnpm
pnpm add rsc-daisyuiAdd rsc-daisyui to app.css
@import "tailwindcss";
@plugin "daisyui";
@source "../../node_modules/rsc-daisyui/dist";Quick Start
Import rsc-daisyui components within your component files:
import { Button } from "rsc-daisyui";
export default (props) => {
return <Button color="primary">Click me!</Button>;
};Components
Actions
| Name | v1 | v2 |
|---|---|---|
| Button | ✅ | ✅ |
| Dropdown | ✅ | ✅ |
| Modal | ✅ | ✅ |
| Swap | ✅ | ✅ |
| Theme Controller | ✅ | ✅ |
Data display
| Name | v1 | v2 |
|---|---|---|
| Accordion | ✅ | ✅ |
| Avatar | ✅ | ✅ |
| Badge | ✅ | ✅ |
| Card | ✅ | ✅ |
| Carousel | ✅ | ✅ |
| Chat bubble | ✅ | ✅ |
| Collapse | ✅ | ✅ |
| Countdown | ✅ | ✅ |
| Diff | ✅ | ✅ |
| Kbd | ✅ | ✅ |
| List | - | ✅ |
| Stat | ✅ | ✅ |
| Status | - | ✅ |
| Table | ✅ | ✅ |
| Timeline | ✅ | ✅ |
Navigation
| Name | v1 | v2 |
|---|---|---|
| Breadcrumbs | ✅ | ✅ |
| Dock (Bottom navigation) | ✅ | |
| Link | ✅ | ✅ |
| Menu | ✅ | ✅ |
| Navbar | ✅ | ✅ |
| Pagination | ✅ | ✅ |
| Steps | ✅ | ✅ |
| Tab | ✅ | ✅ |
Feedback
| Name | v1 | v2 |
|---|---|---|
| Alert | ✅ | ✅ |
| Loading | ✅ | ✅ |
| Progress | ✅ | ✅ |
| Radial progress | ✅ | ✅ |
| Skeleton | ✅ | ✅ |
| Toast | ✅ | ✅ |
| Tooltip | ✅ | ✅ |
Data input
| Name | v1 | v2 |
|---|---|---|
| Checkbox | ✅ | ✅ |
| Fieldset | - | ✅ |
| File input | ✅ | ✅ |
| Filter | - | ✅ |
| Label | - | ✅ |
| Radio | ✅ | ✅ |
| Range | ✅ | ✅ |
| Rating | ✅ | ✅ |
| Select | ✅ | ✅ |
| Text input | ✅ | ✅ |
| Textarea | ✅ | ✅ |
| Toggle | ✅ | ✅ |
| Validator | - | ✅ |
Layout
| Name | v1 | v2 |
|---|---|---|
| Divider | ✅ | ✅ |
| Drawer | ✅ | ✅ |
| Footer | ✅ | ✅ |
| Hero | ✅ | ✅ |
| Indicator | ✅ | ✅ |
| Join (group items) | ✅ | ✅ |
| Mask | ✅ | ✅ |
| Stack | ✅ | ✅ |
Mockup
| Name | v1 | v2 |
|---|---|---|
| Browser | ✅ | ✅ |
| Code | ✅ | ✅ |
| Phone | ✅ | ✅ |
| Window | ✅ | ✅ |
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
1.0.4
11 months ago
2.0.0-beta.2
10 months ago
2.0.0-beta.1
10 months ago
2.0.1
9 months ago
2.0.0
9 months ago
2.0.0-beta.3
10 months ago
1.0.3
1 year ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.9.0
2 years ago
0.8.2
2 years ago
0.8.1
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.6.0
2 years ago
0.5.1
2 years ago
0.5.0
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.4
2 years ago
0.3.2
2 years ago
0.3.3
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.1.2
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago