Download the PHP package admin9/blade-daisyui without Composer
On this page you can find all versions of the php package admin9/blade-daisyui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download admin9/blade-daisyui
More information about admin9/blade-daisyui
Files in admin9/blade-daisyui
Package blade-daisyui
Short Description Blade components for DaisyUI 5 — pure UI, no business logic
License MIT
Homepage https://github.com/admin9-labs/blade-daisyui
Informations about the package blade-daisyui
Blade DaisyUI
Blade components for DaisyUI 5 — pure UI, zero business logic.
Provides 65 components as anonymous Blade views with a <x-dui::*> prefix, ready to drop into any Laravel 11/12 project that uses Tailwind CSS + DaisyUI 5.
Requirements
- PHP 8.2+
- Laravel 11 or 12
- Tailwind CSS 4 + DaisyUI 5 (installed in your project)
Installation
The package auto-discovers its service provider. No manual registration needed.
Usage
All components use the dui namespace:
Components (65)
Actions
accordion, alert, button, dropdown, fab, loading, modal, progress, radial-progress, skeleton, swap, toast, tooltip
Data Display
avatar, badge, card, carousel, chat, countdown, diff, kbd, list, stat, status, table, timeline
Data Input
calendar, checkbox, fieldset, file-input, filter, input, label, radio, range, rating, select, textarea, toggle, validator
Layout
collapse, divider, dock, drawer, footer, hero, indicator, join, mask, navbar, stack
Navigation
breadcrumbs, link, menu, pagination, steps, tab
Mockup
mockup-browser, mockup-code, mockup-phone, mockup-window
Effects
hover-3d, hover-gallery, text-rotate, theme-controller
Props Convention
Components accept DaisyUI modifier props directly:
| Prop | Type | Description |
|---|---|---|
color |
string | DaisyUI color: primary, secondary, accent, info, success, warning, error |
size |
string | Size modifier: xs, sm, md, lg, xl |
variant |
string | Style variant: outline, soft, dash, ghost, link (component-specific) |
All extra HTML attributes are forwarded to the root element via $attributes->merge().
Customizing Classes
Every component merges your classes with its defaults:
Visual Review
The package now includes curated example views under the blade-daisyui::examples.* namespace. Mount them in any Laravel app to exercise the components together and validate the visual hierarchy described in docs/visual-audit.md :
blade-daisyui::examples.control-roomis the administrative control surface that stresses hierarchy, density, tables, alerts, and complex form combinations.blade-daisyui::examples.landing-editorialis a content-marketing scene that proves the same toolkit can compose gradients, hero storytelling, and layered badges without collapsing into a generic layout.blade-daisyui::examples.settings-labis the form-heavy settings scene that stresses neutral controls, validation, filters, toggles, radios, and dense field groupings.
Use the docs/visual-audit.md checklist while stepping through both scenes so you notice density shifts, theme transitions, badge pressure, and form behavior before releasing component changes.
For component-level conclusions, see docs/component-audit.md. That file summarizes which high-frequency primitives are visually stable, which ones are easy to misuse, and where follow-up work is actually worth doing.
Recommended: Publish The Host Stubs
The package example views are content-only partials. The fastest way to use them in a real Laravel app is to publish the host wrapper views and the Tailwind/DaisyUI CSS stub:
This will publish:
resources/views/blade-daisyui/control-room.blade.phpresources/views/blade-daisyui/landing-editorial.blade.phpresources/views/blade-daisyui/settings-lab.blade.phpresources/css/vendor/blade-daisyui-examples.css
The published wrapper views use:
If your app uses a different layout component or a section-based layout, just edit the published stubs and replace <x-layouts.app> with your preferred wrapper.
Minimal Host App Routes
Once the wrapper views are published, point routes to the host views instead of the package partials:
Minimal Host App Styling Requirements
The published CSS stub contains the required Tailwind + DaisyUI imports and scans the package Blade files:
Make sure your layout still loads the compiled assets, for example:
Testing
License
MIT. See LICENSE.md.
All versions of blade-daisyui with dependencies
illuminate/contracts Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
spatie/laravel-package-tools Version ^1.16