{"schemaVersion":"1.0","record":{"label":"daisyUI","description":"MIT-licensed CSS component classes and themes commonly used with Tailwind CSS, with framework-independent markup.","aliases":[],"kind":"software","website":"https://daisyui.com","overview":"daisyUI is an open-source collection of CSS component classes and themes. It is commonly installed as a Tailwind CSS plugin, adding higher-level classes for interface parts, and can also be used with standalone styles. Its main contribution is reusable presentation; the markup and interaction method chosen by an application still determine behavior.","license":"MIT core","lifecycle":"active","example":false,"features":[{"name":"CSS component styling","status":"supported","detail":"Higher-level component classes can combine with utility CSS or custom layout styles.","useCase":"Styling reusable web interface components and themes","platforms":["Web applications that can use CSS","Tailwind CSS integration or standalone styles"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://daisyui.com/docs/intro/","locator":"Component classes, Tailwind integration and standalone use","retrievedAt":"2026-10-07T23:19:52Z","kind":"vendor"}]},{"name":"Scoped themes","status":"supported","detail":"Enabled themes can be assigned to the page or nested regions with data-theme.","useCase":"Styling reusable web interface components and themes","platforms":["Web applications that can use CSS","Tailwind CSS integration or standalone styles"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://daisyui.com/docs/themes/","locator":"Enabled themes, data-theme scope and custom variables","retrievedAt":"2026-10-07T23:20:55Z","kind":"vendor"}]},{"name":"CDN parity with all build variants","status":"limited","detail":"The CDN distribution omits variants such as is-drawer-open and is-drawer-close.","useCase":"Styling reusable web interface components and themes","platforms":["Web applications that can use CSS","Tailwind CSS integration or standalone styles"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://daisyui.com/docs/cdn/","locator":"Separate CSS files and omitted variant classes","retrievedAt":"2026-10-07T23:20:45Z","kind":"vendor"}]},{"name":"Modal interaction consistency","status":"limited","detail":"Dialog, popover and legacy checkbox/anchor methods differ in Escape handling and background interaction blocking.","useCase":"Styling reusable web interface components and themes","platforms":["Web applications that can use CSS","Tailwind CSS integration or standalone styles"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://daisyui.com/components/modal/","locator":"Dialog/popover/legacy comparison and background interaction","retrievedAt":"2026-10-07T23:20:55Z","kind":"vendor"}]}],"alternatives":[],"slug":"daisyui","draftAlternatives":[{"targetSlug":"bootstrap","status":"limited","detail":"Can replace Bootstrap's presentation layer for appropriate web components after rewriting markup, classes and theme configuration. Bootstrap JavaScript plugin behavior is not supplied automatically by substituting daisyUI classes.","useCase":"Styling reusable web interface components and themes","platforms":["Web applications that can use CSS","Tailwind CSS integration or standalone styles"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://daisyui.com/docs/intro/","locator":"Component classes, Tailwind integration and standalone use","retrievedAt":"2026-10-07T23:19:52Z","kind":"vendor"},{"url":"https://daisyui.com/components/modal/","locator":"Dialog/popover/legacy comparison and background interaction","retrievedAt":"2026-10-07T23:20:55Z","kind":"vendor"},{"url":"https://getbootstrap.com/docs/5.3/getting-started/introduction/","locator":"CSS and JavaScript component setup","retrievedAt":"2026-10-07T23:20:02Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/saadeghi/daisyui/blob/master/LICENSE","locator":"MIT notice and permission conditions","retrievedAt":"2026-10-07T23:20:32Z","kind":"vendor"},{"url":"https://daisyui.com/docs/intro/","locator":"Component classes, Tailwind integration and standalone use","retrievedAt":"2026-10-07T23:19:52Z","kind":"vendor"},{"url":"https://daisyui.com/docs/upgrade/","locator":"Tailwind v4 setup and changed/removed component classes","retrievedAt":"2026-10-07T23:20:32Z","kind":"vendor"},{"url":"https://daisyui.com/docs/cdn/","locator":"Separate CSS files and omitted variant classes","retrievedAt":"2026-10-07T23:20:45Z","kind":"vendor"},{"url":"https://daisyui.com/docs/themes/","locator":"Enabled themes, data-theme scope and custom variables","retrievedAt":"2026-10-07T23:20:55Z","kind":"vendor"},{"url":"https://daisyui.com/components/modal/","locator":"Dialog/popover/legacy comparison and background interaction","retrievedAt":"2026-10-07T23:20:55Z","kind":"vendor"},{"url":"https://getbootstrap.com/docs/5.3/getting-started/introduction/","locator":"CSS and JavaScript component setup","retrievedAt":"2026-10-07T23:20:02Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/saadeghi/daisyui/blob/master/LICENSE","locator":"MIT notice and permission conditions","retrievedAt":"2026-10-07T23:20:32Z","id":"license","title":"daisyUI license","kind":"vendor"},{"url":"https://daisyui.com/docs/intro/","locator":"Component classes, Tailwind integration and standalone use","retrievedAt":"2026-10-07T23:19:52Z","id":"intro","title":"daisyUI introduction","kind":"vendor"},{"url":"https://daisyui.com/docs/upgrade/","locator":"Tailwind v4 setup and changed/removed component classes","retrievedAt":"2026-10-07T23:20:32Z","id":"upgrade","title":"daisyUI v5 upgrade","kind":"vendor"},{"url":"https://daisyui.com/docs/cdn/","locator":"Separate CSS files and omitted variant classes","retrievedAt":"2026-10-07T23:20:45Z","id":"cdn","title":"daisyUI CDN distribution","kind":"vendor"},{"url":"https://daisyui.com/docs/themes/","locator":"Enabled themes, data-theme scope and custom variables","retrievedAt":"2026-10-07T23:20:55Z","id":"themes","title":"daisyUI themes","kind":"vendor"},{"url":"https://daisyui.com/components/modal/","locator":"Dialog/popover/legacy comparison and background interaction","retrievedAt":"2026-10-07T23:20:55Z","id":"modal","title":"daisyUI modal methods","kind":"vendor"},{"url":"https://getbootstrap.com/docs/5.3/getting-started/introduction/","locator":"CSS and JavaScript component setup","retrievedAt":"2026-10-07T23:20:02Z","id":"bootstrap","title":"Bootstrap introduction","kind":"vendor"}],"overviewCitations":["intro","modal"],"licenseCitations":["license"],"sections":[{"id":"presentation","heading":"Component styling and layout","paragraphs":[{"id":"presentation-detail","content":[{"text":"daisyUI groups CSS rules into component-oriented names rather than requiring every visual detail to be expressed as a long utility list. Tailwind utilities can still handle layout and refinements. Standalone use is documented too, with application-authored CSS taking over layout and spacing. This makes daisyUI a presentation building block for generated interfaces, not a replacement for the application's data or event logic."}],"citations":["intro"]}]},{"id":"versions","heading":"Matching the CSS generation to the markup","paragraphs":[{"id":"versions-detail","content":[{"text":"The v5 upgrade guide moves the Tailwind integration to the v4 CSS configuration style. It also lists actual markup changes, including renamed card and avatar classes and replacement of older navigation styles. A project can therefore install a current package while retaining obsolete generated class names. Migration should inspect the components in use instead of assuming that changing one dependency version updates their HTML."}],"citations":["upgrade"]}]},{"id":"themes","heading":"Theme scope and customization","paragraphs":[{"id":"themes-detail","content":[{"text":"The theme guide enables selected built-in themes and applies them through data-theme on the page or a nested element. A section can therefore use a different theme from its surrounding page. Custom themes expose color and other CSS variables. This is useful for keeping generated components visually consistent, but the existence of a theme does not establish that every application-specific color pairing or state is accessible."}],"citations":["themes"]}]},{"id":"distribution","heading":"CDN builds have explicit limits","paragraphs":[{"id":"distribution-detail","content":[{"text":"The CDN guide offers component, utility and theme files separately, but excludes variants such as is-drawer-open and is-drawer-close to avoid expanding every class combination. A static stylesheet setup and a Tailwind build thus do not have identical feature availability. A copied example using a missing variant may need a build integration or a different styling approach rather than additional JavaScript."}],"citations":["cdn"]}]},{"id":"behavior","heading":"Modal methods are not equivalent","paragraphs":[{"id":"behavior-detail","content":[{"text":"The modal guide recommends the native dialog method, which uses JavaScript to open and close and supports Escape dismissal and blocking background interactions. Its popover method allows Escape dismissal but does not block the background; the legacy checkbox and anchor methods provide neither behavior in the guide's comparison. These differences are important when an AI-generated interface only looks modal. The article does not treat a CSS class as proof of focus or interaction behavior."}],"citations":["modal"]}]},{"id":"fit","heading":"License and substitution","paragraphs":[{"id":"fit-detail","content":[{"text":"The covered daisyUI source is MIT-licensed. It can replace "},{"text":"Bootstrap","targetSlug":"bootstrap"},{"text":" for appropriate component presentation and theming, with markup and interaction changes. That does not establish Bootstrap plugin API compatibility or identical layout. No rendered comparison, installation or accessibility audit was performed."}],"citations":["license","intro","modal","bootstrap"]}]}]},"id":"Q1229","revision":1277,"updatedAt":"2026-10-14T00:50:25Z","sourceUrl":"https://substitutefor.net/entities/Q1229?revision=1277"}}