New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-daisy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-daisy

react-daisy - DaisyUI components built with React 🌼

  • 0.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NPM Version npm bundle size License

react-daisy 🌼

DaisyUI components built with React, Typescript and TailwindCSS.

Check out our Storybook!


Quick Start

Install the package with npm or yarn:

npm install react-daisy

Then import react-daisy components within your component files:

import { Button } from 'react-daisy'

export default (props) => {
  return (
    <Button color="primary">
      Click me!
    </Button>
  )
}

To apply a theme (or multiple themes) to a page or components, import the Theme component and wrap your content:

import { Theme, Button } from 'react-daisy'

export default (props) => {
  return (
    <>
      <Theme dataTheme="dark">
        <Button color="primary">
          Click me, dark!
        </Button>
      </Theme>
      
      <Theme dataTheme="light">
        <Button color="primary">
          Click me, light!
        </Button>
      </Theme>
    </>
  )
}

Components To-Do

Actions:

  • Button
  • Dropdown
  • Modal
  • Swap

Data Display:

  • Alert
  • Avatar
  • Badge
  • Card
  • Carousel
  • Collapse
  • Countdown
  • Kbd
  • Progress
  • Radial Progress
  • Stat
  • Table
  • Tooltip

Data Input:

  • Checkbox
  • Input
  • Radio
  • Range
  • Select
  • Textarea
  • Toggle

Layout:

  • Artboard
  • Button-Group
  • Divider
  • Drawer
  • Footer
  • Hero
  • Indicator
  • Input Group
  • Mask
  • Stack

Navigation:

  • Breadcrumbs
  • Link
  • Menu
  • Navbar
  • Pagination
  • Steps
  • Tab

Mockup:

  • Code
  • Phone
  • Window

Contributions

We could use some help building out stories and writing unit tests for components.


License

This project is licensed under the MIT License - see the LICENSE.md file for details.

FAQs

Package last updated on 10 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc