bladeuix/components

A Laravel blade component library based on daisyUI.
346 2
Install
composer require bladeuix/components
Latest Version:v3.1.0
PHP:^8.2 | ^8.3 | ^8.4 | ^8.5
Laravel:12 · 13
License:MIT
Last Updated:Aug 31, 2026
Links: GitHub  ·  Packagist
Maintainer: njoguamos

BladeUIX

Latest Version on Packagist Total Downloads

BladeUIX is a Laravel package for adding daisyUI components to your Blade templates.

Requirements

Version PHP Laravel
1.x 8.2.x, 8.3.x, 8.4.x, 8.5.x 12.x, 13.x

Installation

Prerequisites

You need to have daisyUI installed in your project. If you haven't already, you can install it via your terminal:

npm i -D daisyui@latest

Package Installation

Install the BladeUIX compoents package via Composer:

composer require bladeuix/components

Configure Tailwind CSS

  • Ensure that daisyui tailwindcss plugin in installed.
  • ../../vendor/bladeuix/components/src/View/Components/*.php is included in tailwindcss scan files.
@import "tailwindcss";

/*Your other @source...*/

@source "../../vendor/bladeuix/components/src/View/Components/*.php";
@plugin "daisyui";

/*Your other css utilities...*/

Basic Usage

Once everything is installed and configured, you can use the components in your Blade templates:

<x-button color="primary">
    Click Me
</x-daisyui::button>

Documentation

Full documentation is available at bladeuix.njoguamos.me.ke/daisyui.

Testing

composer test

Changelog

Please see GitHub Releases for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

Version History

Version Released PHP Laravel License
v3.1.0 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v3.0.0 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v2.0.1 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v2.0.0 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v1.2.0 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
Pre-releases (4)
Version Released PHP Laravel License
v0.1.0-alpha.4 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v0.1.0-alpha.3 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v0.1.0-alpha.2 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT
v0.1.0-alpha.1 ^8.2 | ^8.3 | ^8.4 | ^8.5 ^12.0 | ^13.0 MIT