npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

mino-daisy-react

v1.1.13

Published

React component library wrapping DaisyUI components

Downloads

1,593

Readme

mino-daisy-react

This project wraps DaisyUI components into React.

Details

  • 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

Storybook

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.

Available Components

Navigation & Layout (7/7) ✅

  • Navbar, NavbarStart, NavbarCenter, NavbarEnd - Top navigation bar with sections
  • Breadcrumbs - Navigation helper showing page hierarchy
  • Menu - Vertical or horizontal link lists
  • Pagination - Button group for page navigation
  • Dock, DockItem - Bottom navigation bar (floating)
  • Drawer, DrawerToggle, DrawerContent, DrawerSide, DrawerOverlay - Sidebar layout with toggle capability
  • Footer, FooterTitle - Page footer with structured content

Data Display (10/10) ✅

  • Table - Structured data grid with zebra, pinned rows/columns
  • Card, CardBody, CardTitle, CardActions - Content container
  • Badge - Status indicator with variants and sizes
  • Stats, Stat, StatTitle, StatValue, StatDesc, StatFigure - Numerical data blocks
  • Progress - Task completion indicator
  • RadialProgress - Circular progress display
  • Countdown - Animated number transitions
  • Timeline, TimelineItem, TimelineStart, TimelineMiddle, TimelineEnd, TimelineBox - Chronological event display
  • Steps, Step - Process progression indicator
  • List, ListRow - Vertical information layout

Interactive & Feedback (13/13) ✅

  • Button - Action trigger with variants, sizes, and states
  • Alert - Important message notification
  • Modal, ModalBox, ModalAction, ModalBackdrop - Dialog box overlay
  • BottomSheet, BottomSheetContent, BottomSheetBackdrop, BottomSheetActions - Sheet that slides up from bottom
  • Dropdown - Click-triggered menu
  • Tab, Tabs, TabContent - Tabbed content switcher
  • Collapse, CollapseTitle, CollapseContent, CollapseCheckbox - Expandable content section
  • Accordion, AccordionItem, AccordionTitle, AccordionContent, AccordionRadio - Single-open collapse group
  • Toast - Corner notification stack
  • Tooltip, TooltipContent - Hover info display
  • Rating, RatingItem - Star-based rating input
  • Swap, SwapOn, SwapOff, SwapIndeterminate - Toggle between two elements
  • Filter, FilterReset, FilterItem - Radio button option filter

Visual & Media (10/10) ✅

  • Avatar, AvatarGroup - User thumbnail with online/offline status
  • Carousel, CarouselItem - Scrollable content slider
  • Chat, ChatImage, ChatHeader, ChatFooter, ChatBubble - Message bubble display
  • Diff, DiffItem, DiffResizer - Side-by-side comparison
  • Divider - Content separator with text
  • HoverGallery - Image preview on hover
  • Indicator, IndicatorItem - Corner element positioning
  • Mask - Shape cropping for images
  • Stack - Layered element positioning
  • Status - Small status icon

Mockups & Prototyping (4/4) ✅

  • MockupBrowser, MockupBrowserToolbar - Browser window frame
  • MockupPhone, MockupPhoneCamera, MockupPhoneDisplay - iPhone device frame
  • MockupCode - Code editor appearance
  • MockupWindow - OS window frame

Forms & Input (11/11) ✅

  • Input - Text entry field with variants and sizes
  • Textarea - Multi-line text entry
  • Select - Dropdown option picker with optgroup support
  • Checkbox - Toggle selection element
  • Radio - Single-choice option groups
  • Toggle - Switch-style checkbox
  • Range - Slider for value selection
  • FileInput - File upload field
  • Fieldset, FieldsetLegend - Form section grouping
  • Label - Form field labeling (regular and floating)
  • RichTextEditor - WYSIWYG rich text editor with Lexical integration

Utilities & Special (10/10) ✅

  • Loading - Activity animation with 6 type variants
  • Skeleton - Loading placeholder for content
  • Kbd - Keyboard shortcut display
  • Calendar - Date picker with React Day Picker integration and DaisyUI styling
  • Link - Enhanced anchor styling with color variants
  • Join - Item grouping container (horizontal/vertical)
  • Hero, HeroContent, HeroOverlay - Large banner section
  • Fab, FabMainAction, FabClose - Floating action button with speed dial
  • Validator, ValidatorHint - Form validation styling with HTML5 support
  • ThemeController - Theme switching control (checkbox, toggle, or swap)

Design Philosophy

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

Usage Example

import {
  Button,
  Input,
  Select,
  Checkbox,
  Toggle,
  Label
} from 'mino-daisy-react'

function MyForm() {
  return (
    <div>
      <Label>
        <span className="label-text">Email</span>
        <Input
          type="email"
          className="input-bordered input-primary"
          placeholder="[email protected]"
        />
      </Label>

      <Label>
        <span className="label-text">Country</span>
        <Select className="select-bordered select-primary">
          <option>United States</option>
          <option>Canada</option>
          <option>Mexico</option>
        </Select>
      </Label>

      <Label className="flex items-center gap-2 cursor-pointer">
        <Toggle className="toggle-primary" />
        <span className="label-text">Enable notifications</span>
      </Label>

      <Button className="btn-primary btn-lg btn-wide">
        Submit
      </Button>
    </div>
  )
}

More Examples

// Button variations
<Button className="btn-primary">Primary</Button>
<Button className="btn-secondary btn-outline">Secondary Outline</Button>
<Button className="btn-accent btn-sm" disabled>Small Disabled</Button>
<Button className="btn-ghost btn-circle">👍</Button>

// Modal with behavioral prop
<Modal open={isOpen} className="modal-bottom sm:modal-middle">
  <div className="modal-box">
    <h3 className="font-bold text-lg">Hello!</h3>
    <p className="py-4">This is a modal</p>
  </div>
</Modal>

// Form inputs
<Input className="input-bordered input-error" placeholder="Error state" />
<Textarea className="textarea-bordered textarea-lg" rows={4} />
<Checkbox className="checkbox-primary checkbox-lg" />
<Range className="range-primary range-lg" min={0} max={100} />

// Cards and layouts
<Card className="card-bordered shadow-xl bg-base-100">
  <CardBody>
    <CardTitle>Card Title</CardTitle>
    <p>Card content goes here</p>
  </CardBody>
</Card>

For all available DaisyUI classes, see the DaisyUI documentation.

Component Implementation Status

Navigation & Layout

  • [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

Forms & Input

  • [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] Label - Input field labeling
  • [x] RichTextEditor - WYSIWYG rich text editor with Lexical

Data Display

  • [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

Interactive & Feedback

  • [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

Visual & Media

  • [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

Mockups & Prototyping

  • [x] Mockup-Browser - Browser window frame
  • [x] Mockup-Phone - iPhone device frame
  • [x] Mockup-Code - Code editor appearance
  • [x] Mockup-Window - OS window frame

Utilities & Special

  • [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)

Progress

65/80 components implemented (81.25%)