React component library wrapping DaisyUI components
npm install mino-daisy-reactThis project wraps DaisyUI components into React.
* uses Vite to build a library
* has a Storybook to visualize preview of components
* uses clsx for conditionally render CSS classes
* exports all components from its root ex: import { Card } from 'mino-daisy-react
* it's published to NPM for easy re-use
* uses TypeScript
* read updated DaisyUI documentation
View the live component documentation and examples at: https://giacomorebonato.github.io/mino-daisy-react/
The Storybook is automatically deployed to GitHub Pages on every push to the main branch.
Navbar, NavbarStart, NavbarCenter, NavbarEnd - Top navigation bar with sectionsBreadcrumbs - Navigation helper showing page hierarchyMenu - Vertical or horizontal link listsPagination - Button group for page navigationDock, DockItem - Bottom navigation bar (floating)Drawer, DrawerToggle, DrawerContent, DrawerSide, DrawerOverlay - Sidebar layout with toggle capabilityFooter, FooterTitle - Page footer with structured contentTable - Structured data grid with zebra, pinned rows/columnsCard, CardBody, CardTitle, CardActions - Content containerBadge - Status indicator with variants and sizesStats, Stat, StatTitle, StatValue, StatDesc, StatFigure - Numerical data blocksProgress - Task completion indicatorRadialProgress - Circular progress displayCountdown - Animated number transitionsTimeline, TimelineItem, TimelineStart, TimelineMiddle, TimelineEnd, TimelineBox - Chronological event displaySteps, Step - Process progression indicatorList, ListRow - Vertical information layoutButton - Action trigger with variants, sizes, and statesAlert - Important message notificationModal, ModalBox, ModalAction, ModalBackdrop - Dialog box overlayBottomSheet, BottomSheetContent, BottomSheetBackdrop, BottomSheetActions - Sheet that slides up from bottomDropdown - Click-triggered menuTab, Tabs, TabContent - Tabbed content switcherCollapse, CollapseTitle, CollapseContent, CollapseCheckbox - Expandable content sectionAccordion, AccordionItem, AccordionTitle, AccordionContent, AccordionRadio - Single-open collapse groupToast - Corner notification stackTooltip, TooltipContent - Hover info displayRating, RatingItem - Star-based rating inputSwap, SwapOn, SwapOff, SwapIndeterminate - Toggle between two elementsFilter, FilterReset, FilterItem - Radio button option filterAvatar, AvatarGroup - User thumbnail with online/offline statusCarousel, CarouselItem - Scrollable content sliderChat, ChatImage, ChatHeader, ChatFooter, ChatBubble - Message bubble displayDiff, DiffItem, DiffResizer - Side-by-side comparisonDivider - Content separator with textHoverGallery - Image preview on hoverIndicator, IndicatorItem - Corner element positioningMask - Shape cropping for imagesStack - Layered element positioningStatus - Small status iconMockupBrowser, MockupBrowserToolbar - Browser window frameMockupPhone, MockupPhoneCamera, MockupPhoneDisplay - iPhone device frameMockupCode - Code editor appearanceMockupWindow - OS window frameInput - Text entry field with variants and sizesTextarea - Multi-line text entrySelect - Dropdown option picker with optgroup supportCheckbox - Toggle selection elementRadio - Single-choice option groupsToggle - Switch-style checkboxRange - Slider for value selectionFileInput - File upload fieldFieldset, FieldsetLegend - Form section groupingFormControl, Legend, Hint - Form field wrapper with label and hint/error textLabel - Form field labeling (regular and floating)RichTextEditor - WYSIWYG rich text editor with Lexical integrationLoading - Activity animation with 6 type variantsSkeleton - Loading placeholder for contentKbd - Keyboard shortcut displayCalendar - Date picker with React Day Picker integration and DaisyUI stylingLink - Enhanced anchor styling with color variantsJoin - Item grouping container (horizontal/vertical)Hero, HeroContent, HeroOverlay - Large banner sectionFab, FabMainAction, FabClose - Floating action button with speed dialValidator, ValidatorHint - Form validation styling with HTML5 supportThemeController - Theme switching control (checkbox, toggle, or swap)This library provides minimal React wrappers around DaisyUI components. Components only include:
- Base DaisyUI class (e.g., btn, input, modal)
- Essential behavioral props (e.g., open, disabled, checked)
- Standard HTML attributes
- Ref forwarding (React 19 pattern)
All styling is done via className using DaisyUI's utility classes. This gives you:
- Direct access to DaisyUI's full power
- No abstraction layer to learn
- Smaller bundle size
- Type-safe HTML attributes
``tsx
import {
Button,
Input,
Select,
Checkbox,
Toggle,
Label
} from 'mino-daisy-react'
function MyForm() {
return (
$3
`tsx
// Button variations
// Modal with behavioral prop
Hello!
This is a modal
// Form inputs
// Cards and layouts
Card Title
Card content goes here
``For all available DaisyUI classes, see the DaisyUI documentation.
- [x] Navbar - Top navigation bar
- [x] Breadcrumbs - Navigation helper showing page hierarchy
- [x] Menu - Vertical or horizontal link lists
- [x] Pagination - Button group for page navigation
- [x] Dock - Bottom navigation bar (floating)
- [x] Drawer - Sidebar layout with toggle capability
- [x] Footer - Page footer with structured content
- [x] Input - Text entry field
- [x] Textarea - Multi-line text entry
- [x] Select - Dropdown option picker
- [x] Checkbox - Toggle selection element
- [x] Radio - Single-choice option group
- [x] Toggle - Switch-style checkbox
- [x] Range - Slider for value selection
- [x] File-Input - File upload field
- [x] Fieldset - Form section grouping
- [x] FormControl - Form field wrapper (FormControl, Legend, Hint)
- [x] Label - Input field labeling
- [x] RichTextEditor - WYSIWYG rich text editor with Lexical
- [x] Table - Structured data grid
- [x] Card - Content container
- [x] Badge - Status indicator
- [x] Stat - Numerical data block
- [x] Progress - Task completion indicator
- [x] Radial-Progress - Circular progress display
- [x] Countdown - Animated number transitions
- [x] Timeline - Chronological event display
- [x] Steps - Process progression indicator
- [x] List - Vertical information layout
- [x] Alert - Important message notification
- [x] BottomSheet - Sheet that slides up from bottom
- [x] Button - Action trigger
- [x] Modal - Dialog box overlay
- [x] Dropdown - Click-triggered menu
- [x] Tab - Tabbed content switcher
- [x] Collapse - Expandable content section
- [x] Accordion - Single-open collapse group
- [x] Toast - Corner notification stack
- [x] Tooltip - Hover info display
- [x] Rating - Star-based rating input
- [x] Swap - Toggle between two elements
- [x] Filter - Radio button option filter
- [x] Avatar - User thumbnail image
- [x] Carousel - Scrollable content slider
- [x] Chat - Message bubble display
- [x] Diff - Side-by-side comparison
- [x] Divider - Content separator
- [x] Hover-Gallery - Image preview on hover
- [x] Indicator - Corner element placement
- [x] Mask - Shape cropping element
- [x] Stack - Layered element positioning
- [x] Status - Small status icon
- [x] Mockup-Browser - Browser window frame
- [x] Mockup-Phone - iPhone device frame
- [x] Mockup-Code - Code editor appearance
- [x] Mockup-Window - OS window frame
- [x] Loading - Activity animation
- [x] Skeleton - Loading placeholder
- [x] Kbd - Keyboard shortcut display
- [x] Calendar - Date picker integration
- [x] Link - Enhanced anchor styling
- [x] Validator - Form validation styling
- [x] Theme-Controller - Theme switching control
- [x] Join - Item grouping container
- [x] Hero - Large banner section
- [x] FAB - Floating action button (includes Speed Dial)
66/80 components implemented (82.5%)