Download the PHP package nuewire/ui without Composer
On this page you can find all versions of the php package nuewire/ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package ui
Short Description Nue UI components and optional documentation for Laravel and Livewire.
License MIT
Homepage https://github.com/nuewire/ui
Informations about the package ui
Nue UI
Nue UI is a single Composer package containing Blade components, Livewire integration, Tailwind utilities, browser behavior, and an optional embedded documentation application.
Requirements
| Dependency | Supported versions |
|---|---|
| PHP | 8.2–8.x |
| Laravel / Illuminate | 10, 11, 12, 13 |
| Livewire | 4.x |
| Tailwind CSS | 4.x |
Installation
Install one package:
Register the distributed stylesheet in the application's Tailwind entry file:
The command updates resources/css/app.css by default. Use another entry file when required:
Create a missing entry file with:
The installer is idempotent and will not duplicate existing directives.
Application layout
Add the appearance bootstrap near the top of <head>. Load the package runtime after Livewire's scripts.
Components
Use Nue's short-tag syntax:
It compiles to standard namespaced Blade syntax:
Publish the UI configuration to disable short tags:
Bundled documentation
The documentation application is included in nuewire/ui; there is no separate nuewire/docs dependency.
Documentation routes are disabled by default. Enable them only in the environments where they are intended to be reachable:
Register the bundled documentation views as Tailwind sources, then rebuild assets:
The documentation is then available at /docs unless NUE_DOCS_PREFIX is changed. Route names continue to use the nue-docs.* prefix for compatibility.
Publish documentation configuration or views only when the application needs to own them:
Run the documentation integrity audit from the package root:
Local path repository
A monorepo or local Laravel application needs only one path repository:
Remove any root requirement and path repository for nuewire/docs, then run:
The package declares nuewire/docs as replaced by the matching nuewire/ui version to ease migration from the former split-package structure.
Publishing files
Publish only the files the application intends to maintain:
Publish all supported resources:
Use --force only after reviewing the files that will be overwritten.
Appearance
The default appearance is system. Supported values are light, dark, and system.
Background presets
The distributed stylesheet includes decorative background utilities with coordinated light and dark variants:
Available classes are bg-nue-aurora, bg-nue-ocean, bg-nue-sunset, bg-nue-lavender, bg-nue-forest, bg-nue-rose, bg-nue-sand, bg-nue-sky, bg-nue-mint, and bg-nue-graphite. bg-custom-gradient remains an alias for bg-nue-aurora.
Dark variants activate automatically when an ancestor has the dark class. The bundled documentation page at /docs/guides/backgrounds provides live previews and copy-ready CSS.
Modals
From JavaScript or Alpine:
From a Livewire component:
Asset mode and Iconify
Scripts are inlined by default. To serve the bundled runtime from public/vendor/nue/nue.js, publish the assets and change the configuration:
Iconify is enabled by default and loaded from the configured CDN. Disable it when the application supplies local icons or enforces a restrictive Content Security Policy:
License
Nue UI is released under the MIT License.
All versions of ui with dependencies
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.0
livewire/livewire Version ^4.0