unstale

npm / daisyui

daisyui

What changed in daisyui 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.

9 new APIs and options7 behavior and defaults108 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

daisyui 5124 changes

New APIs and options 9

Behavior and default changes 7

  • Rewrites button styles and improves checked, disabled, soft, ghost, link, and focus states.

    5.6.0release notes

  • Adds focus and checked styling for selected or selectable cards.

    5.6.0release notes

  • Improves keyboard navigation and reset behavior.

    5.6.0release notes

  • Improves sizing for input, textarea, select, and floating label components.

    5.6.0release notes

  • Simplifies join styles and prevents nested join styles from leaking.

    5.6.0release notes

  • Allows menu elements to be used as .menu containers.

    5.6.0release notes

  • Makes rating size modifiers responsive.

    5.6.0release notes

Fixes and other changes 108

  • The indeterminate checkbox mark is shown in forced colors mode, matching the checked checkbox mark.

    5.7.48release notes

  • Fixes the color of btn-link when used with btn-disabled.

    5.7.47release notes

  • Adjusts the tooltip tail position for themes with more radius.

    5.7.46release notes

  • Fixed the range shadow size and performance.

    5.7.45release notes

  • Fixes the avatar indicator dot's position in right-to-left layouts.

    5.7.44release notes

  • Status size now respects theme size variables.

    5.7.43release notes

  • Fixed disabled styling for input, select, textarea, and file-input components.

    5.7.42release notes

  • Fixed specificity for validator colors.

    5.7.41release notes

  • Buttons with aria-checked are styled as btn-active.

    5.7.40release notes

  • Firefox Android can now use diff by tap because it ignores CSS resize and cannot drag.

    5.7.39release notes

  • Styles aria-pressed and aria-current as btn-active in button.

    5.7.38release notes

  • Styles aria-current as active in dock.

    5.7.38release notes

  • Styles aria-current as menu-active in menu.

    5.7.38release notes

  • Fixes the disabled style for OTP.

    5.7.37release notes

  • Fixed checkbox tick and dash alignment.

    5.7.36release notes

  • Fixed the loading spinner shrinking inside a flex container.

    5.7.36release notes

  • Badges no longer shrink inside a flex container.

    5.7.35release notes

  • Fixed the FAB font size when using a prefix.

    5.7.34release notes

  • Fixed the OTP border width and position.

    5.7.33release notes

  • Fixed dropdown positioning in RTL layouts.

    5.7.32release notes

  • Fixes the breadcrumbs item focus ring being cropped.

    5.7.28release notes

  • Fixes border overlap for join items when there's a wrapper.

    5.7.27release notes

  • Fixes the tooltip font weight.

    5.7.26release notes

  • Adds styling for aria-checked="mixed" to match :indeterminate.

    5.7.25release notes

  • Improves the skeleton animation for right-to-left layouts.

    5.7.24release notes

  • The menu-paged summary hides children such as badges and icons when details is open.

    5.7.23release notes

  • Fixes floating label positioning in RTL layouts.

    5.7.22release notes

  • Fixes a FAB selector style leak affecting fab-flower actions.

    5.7.21release notes

  • The selector targets direct children to avoid style leaking.

    5.7.20release notes

  • Fixed an issue with the alert grid.

    5.7.19release notes

  • Dock layout is no longer forced onto script, style, or template children.

    5.7.18release notes

  • Fixes the color of .btn when a checkbox or radio is checked.

    5.7.17release notes

  • Fixed horizontal menu alignment.

    5.7.16release notes

  • Content in calendar can now be overridden.

    5.7.15release notes

  • Input isolation was fixed.

    5.7.15release notes

  • Content in menu can now be overridden.

    5.7.15release notes

  • OTP isolation was fixed.

    5.7.15release notes

  • Select isolation was fixed.

    5.7.15release notes

  • Pins thead and tfoot as a group so multi-row headers stack.

    5.7.14release notes

  • Improves tooltip behavior in join.

    5.7.13release notes

  • The select arrow no longer rotates when the select is focused but not open.

    5.7.12release notes

  • Improves right-to-left behavior for input and join.

    5.7.11release notes

  • Moved the tooltip default position into l3 in the main definition.

    5.7.10release notes

  • Fixed missing responsive class names in the CDN build.

    5.7.9release notes

  • Prefix handling was improved.

    5.7.8release notes

  • Fixes an issue with the prefix.

    5.7.7release notes

  • Fixes a missing import for nested layers.

    5.7.6release notes

  • Fixed handling of prefixed nested and type selectors.

    5.7.5release notes

  • Prevents avatar from stretching in flex layouts.

    5.7.4release notes

  • Prevents kbd from shrinking in flex layouts.

    5.7.4release notes

  • Prevents radial-progress from shrinking in a flex layout.

    5.7.4release notes

  • Fixes a style leak involving nested modal-box elements.

    5.7.3release notes

  • Fixed size modifiers for select, input, textarea, and rating in the CDN file.

    5.7.2release notes

  • Fixed the calendar day hover style in Cally.

    5.7.1release notes

  • Fixed compatibility with Tailwind CSS utility classes in colgroup.

    5.6.22release notes

  • Fixed the btn-active style.

    5.6.21release notes

  • OTP is forced to left-to-right direction.

    5.6.19release notes

  • Adds margin-inline-end: auto to .fieldset-legend to prevent iOS legend stretch.

    5.6.18release notes

  • Progress values now animate.

    5.6.17release notes

  • Fixes btn-active layers.

    5.6.16release notes

  • Fixes the colors of btn-active.

    5.6.15release notes

  • Prevented --join-* propagation to children of .join-item.

    5.6.14release notes

  • Fixed showing open collapse ::details-content when reduced motion is preferred.

    5.6.14release notes

  • Fixed the disabled select style in fieldset.

    5.6.14release notes

  • Fixed the line size for tabs-border.

    5.6.14release notes

  • Fixed modal-end behavior in RTL layouts.

    5.6.13release notes

  • Fixed modal-start behavior in RTL layouts.

    5.6.13release notes

  • Fixes the active button inset.

    5.6.11release notes

  • Fixed the style of disabled buttons in menus.

    5.6.10release notes

  • Adjusted the position of the number input spinner.

    5.6.9release notes

  • The loading animation now runs slowly under prefers-reduced-motion instead of not animating.

    5.6.7release notes

  • Allows wrapper elements for options in filter.

    5.6.6release notes

  • Prevents daisyUI tabs from conflicting with Tailwind's new optional tab class.

    5.6.5release notes

  • Fixes tooltip positioning in RTL layouts.

    5.6.4release notes

  • Fixes OTP alignment.

    5.6.3release notes

  • Fixed missing outlines and separators for joined buttons.

    5.6.2release notes

  • Exposes btn-active as a utility class.

    5.6.1release notes

  • Improves alert noise size.

    5.6.0release notes

  • Improves button border styling for keyboard and mouse navigation.

    5.6.0release notes

  • Keeps the card outline visible on focus-visible.

    5.6.0release notes

  • Fixes layering in the CDN hover gallery.

    5.6.0release notes

  • Improves collapse details/summary transitions and styling.

    5.6.0release notes

  • Improves overflow behavior when collapse is closed.

    5.6.0release notes

  • Prefixes CSS variables inside var() without replacing fallback content.

    5.6.0release notes

  • Fixes Safari quirks for datetime inputs.

    5.6.0release notes

  • Improves diff thumb styling.

    5.6.0release notes

  • Makes diff work inside card.

    5.6.0release notes

  • Improves disabled input label color contrast.

    5.6.0release notes

  • Adds dropdown animation inside modal.

    5.6.0release notes

  • Reverts overflow clipping for details elements inside .menu.

    5.6.0release notes

  • Fans out the first action when no main action exists.

    5.6.0release notes

  • Prevents FAB trigger and labels from being text-selected in Safari.

    5.6.0release notes

  • Cleans up file input styling.

    5.6.0release notes

  • Prevents footer grid styles from applying to script, style, and template children.

    5.6.0release notes

  • Keeps .kbd legible inside colored buttons.

    5.6.0release notes

  • Loading indicators now respect prefers-reduced-motion.

    5.6.0release notes

  • Corrects alignment of horizontal and vertical menu items.

    5.6.0release notes

  • Removes text-wrap: balance from menu items.

    5.6.0release notes

  • Makes highlighted lines span the full scroll width.

    5.6.0release notes

  • Adds an overlay transition for stacked dialogs.

    5.6.0release notes

  • Uses defined Pikaday theme colors for events and ranges.

    5.6.0release notes

  • Clears the range middle cell background.

    5.6.0release notes

  • Limits the root scroll background image to :root.

    5.6.0release notes

  • Improves separation of root color, scroll gutter, and scroll lock behavior.

    5.6.0release notes

  • Gives the select-ghost picker a non-transparent background.

    5.6.0release notes

  • Highlights the select trigger while the native picker is open.

    5.6.0release notes

  • Makes swap-active work with rotate and flip.

    5.6.0release notes

  • Adjusts swap layers.

    5.6.0release notes