daisyUI Checker
← SkillSafe

Check and fix your daisyUI markup for daisyUI 5

Paste HTML or JSX. Old daisyUI 4 class names are fixed for you, typos and misplaced parts are flagged, and you see it rendered.

or (.html .jsx .tsx .vue .svelte), or drop it here
No markup handy? Try one:

daisyUI 4 to 5: what changed

daisyUI 4daisyUI 5The page
card-bordered, card-compactcard-border, card-smfixes it
tabs-bordered, tabs-lifted, tabs-boxedtabs-border, tabs-lift, tabs-boxfixes it
btm-nav, btm-nav-label, btm-nav-sm, active itemdock, dock-label, dock-sm, dock-activefixes it
input-bordered, select-bordered, textarea-bordered, file-input-borderedremoved: fields have a border by defaultfixes it
avatar online, offline, placeholderavatar-online, avatar-offline, avatar-placeholderfixes it
menu item active, disabled, focusmenu-active, menu-disabled, menu-focusfixes it
table row hoverhover:bg-base-300fixes it
artboard phone-1 … phone-6w-[320px] h-[568px] …fixes it
btn-groupjoin, with join-item on each buttonfixes it
hsl(var(--p)), --b1, --rounded-btn …var(--color-primary), --color-base-100, --radius-field …fixes hsl(var(--x)), flags the rest
form-control, label-text, label-text-altfieldset, fieldset-legend, labelflags it; AI can rebuild it
input-groupjoin, join-itemflags it; AI can rebuild it
mask-parallelogram, mask-squareremoved, no replacementflags it

How it works

  1. Paste or open your markup. HTML, or JSX from React with className. Class names inside className={...} count when they are fixed strings, such as the ones in a clsx call.
  2. Every class is checked against the class names in the daisyUI 5.8.3 CSS and the component guides in the official daisyUI skill: is it a real daisyUI 5 class, was it renamed or removed since daisyUI 4, is a part like card-body inside its card, does a modifier like btn-sm sit next to btn, are two colours or two sizes fighting on one element.
  3. Safe fixes are made for you. Renamed classes, the bordered classes that are now the default, the artboard sizes, btn-group and the daisyUI 4 colour variables. Everything else in your markup stays exactly as it was.
  4. See it rendered. The preview shows your markup and the fixed copy with daisyUI 5 and Tailwind CSS, in any built-in theme.
  5. Copy the fixed markup, or download it with a report. The optional AI step rebuilds what cannot be renamed, and the page checks its answer with the same rules.

Questions

Which daisyUI 4 classes were renamed in daisyUI 5?
card-bordered is card-border, card-compact is card-sm, tabs-bordered, tabs-lifted and tabs-boxed are tabs-border, tabs-lift and tabs-box, btm-nav is dock (and btm-nav-label, btm-nav-sm and the other sizes follow), the avatar's online, offline and placeholder are avatar-online, avatar-offline and avatar-placeholder, a menu item's active, disabled and focus are menu-active, menu-disabled and menu-focus, and mockup-phone's camera and display are mockup-phone-camera and mockup-phone-display.
Which daisyUI classes were removed in daisyUI 5?
form-control, label-text and label-text-alt (use fieldset, fieldset-legend and the label class), btn-group and input-group (use join and join-item), input-bordered, select-bordered, textarea-bordered and file-input-bordered (fields have a border by default), artboard and the phone-1 to phone-6 sizes (use Tailwind width and height), the table row hover class, and mask-parallelogram and mask-square.
Does it work with React, Vue or Svelte files?
Yes for the markup: it reads class and className, including the fixed strings inside className={...} expressions such as clsx calls. Class names built at run time from variables cannot be checked.
What does the preview use?
The daisyUI 5.8.3 CSS and the Tailwind CSS 4 browser build, served from this site. Scripts and event handlers in your markup are not run, and pictures from other sites are shown as grey placeholders.
Is anything uploaded?
No. The check, the fixes and the preview all happen inside your browser tab. Only the optional AI step sends your markup, and only when you press its button.