Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

daisy-jsx

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daisy-jsx

A DaisyUI components library in JSX

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

DaisyJSX

A TypeScript JSX library that provides DaisyUI components (based on TailwindCSS). This library abstracts the specific structures and classes of DaisyUI, offering a type-safe and flexible way to use DaisyUI in any application.

Components are copied into your project from the components directory using the CLI. This is to ensure that both tailwind

Features

  • Type-safe DaisyUI components
  • Flexible and easy-to-use API

Installation

Components must be copied into your project from the components directory. We provide a CLI to help with this:

Install the CLI

npm install -g daisy-jsx

Install DaisyUI in your project

You should already have Tailwind installed, if not, follow the Tailwind Installation Guide.

Then install DaisyUI:

npm install daisyui

and add the following to your tailwind.config.js:

plugins: [require("daisyui")],

Initialize your project for DaisyJSX

daisyjsx init

Here you can choose a components directory where the components will be copied to.

Copy components into your project

daisyjsx add <component>

Usage

To use the library in your application:

import { Button } from "./components/Button";

<Button color="primary">Click me</Button>;

Components

  • Actions
    • Button
    • Dropdown
    • Modal
    • Swap
    • Theme
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Card
    • Carousel
    • ChatBubble
    • Collapse (see Accordion)
    • Countdown
    • Diff
    • Kbd
    • Stat
    • Table
    • Timeline
  • Navigation
    • Breadcrumbs
    • Bottom Navigation
    • Link
    • Menu
    • Navbar
    • Pagination (see Join)
    • Steps
    • Tabs
  • Feedback
    • Alert
    • Loading
    • Progress
    • Radial Progress
    • Skeleton
    • Toast
    • Tooltip
  • Data Input
    • Form Control
    • Label
    • Checkbox
    • File Input
    • Radio
    • Range Slider
    • Rating
    • Select
    • Text Input
    • Textarea
    • Toggle
  • Layout
    • Artboard
    • Divider
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Mask
    • Stack
  • Mockup
    • Browser
    • Code
    • Phone
    • Window

FAQs

Package last updated on 30 Sep 2024

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