daisyUI
daisyUI is “the most popular, free and open-source component library for Tailwind CSS” and adds all common UI components class names to Tailwind CSS so you can make beautiful websites faster than ever.
This guide will show you how to use daisyUI on WordPress websites using Yabe Siul.
Step 1: Open the Preset.JS panel
Section titled Step 1: Open the Preset.JS panelGo to Yabe Siul → Tailwind CSS
and open the preset.js
panel.
Step 2: Add the daisyUI package as a Tailwind CSS plugin
Section titled Step 2: Add the daisyUI package as a Tailwind CSS pluginImport the daisyui
package and add it to the presetConfig.plugins
array.
Step 3: Configure the daisyUI plugin (optional)
Section titled Step 3: Configure the daisyUI plugin (optional)You can configure the daisyUI plugin by adding a daisyui
object to the presetConfig
object.
Please refer to the daisyUI documentation for more information on how to configure the daisyUI plugin.
Step 4: Save the changes
Section titled Step 4: Save the changesSave the changes and you are ready to use daisyUI on your WordPress website.