Skip to content

jameschetwood/daisyui-palette-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daisyui-palette-demo

A very simple React component to demonstrate Daisy UI's color pallet.

What is this for?

The official documentation is great, but having a component in your project that shows you your chosen theme and any overrides you've applied.

"Daisy UI Palette Demo"

Install

npm i daisyui-palette-demo
// Add the library to your tailwind.config's content array
const config = {
    content: [
        "node_modules/daisyui-palette-demo/dist/index.js"
    ]
}
import React from "react";
import PaletteDemo from "daisyui-palette-demo";

export default function Page() {
  return <PaletteDemo />;
}

Demo with theme switcher

https://daisyuipalette.designgui.io

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published