nawasara/ui
Nawasara UI
UI components, layouts, theme, and shared Livewire concerns used by every package in the Nawasara superapp framework.
What's inside
Blade components (<x-nawasara-ui::*>)
| Component | Purpose |
|---|---|
button |
Variant + color + size system, optional icon slot, permission gate |
table |
Standardised table shell with title, action slot, and search |
modal |
Alpine-driven modal with header/footer slots, opened via modal-open:{id} event |
modal-confirm-delete |
Pre-built confirmation modal |
dropdown-menu-action |
Per-row action dropdown with permission filtering |
filter-bar |
Search input + filter chips slot, used above every list page |
filter-dropdown |
Wired filter dropdown that resets pagination |
filter-chip |
Removable chip showing the active filter value |
bulk-action-bar |
Shows up when rows are selected; hosts bulk action buttons |
skeleton, skeleton-stats, skeleton-table |
Loading placeholders that match the real layout |
dark-mode-toggle |
Sun/moon toggle wired to a session preference |
workspace-switcher |
Top-level workspace dropdown for grouped sidebar navigation |
brand-logo |
Renders the configured brand logo with a height variant |
page.title, page.container |
Layout helpers for consistent page structure |
form.input, form.select, form.textarea, form.checkbox, form.label |
Themed form primitives |
Layouts
layouts.app: main authenticated layout with sidebar, topbar, and toasterlayouts.guest: login / public layout
Livewire concerns
Nawasara\Ui\Livewire\Concerns\HasBrowserToast: gives any Livewire componenttoastSuccess / toastError / toastWarning / toastInfomethods that fire on two channels (Livewire event plus JS payload) so toasts always show, even in AJAX-only requests where session flash never reaches the page
Services
WorkspaceManager: resolves the active workspace from the request URL, merges menu entries from every package that declares the sameworkspacekey, and exposesaccessible()for permission-filtered nav
Installation
composer require nawasara/ui
Auto-discovered. Most consumers will register Tailwind to scan this package's views:
// tailwind.config.js
content: [
'./resources/**/*.blade.php',
'./vendor/nawasara/*/resources/**/*.blade.php',
],
Author
Pringgo J. Saputro <odyinggo@gmail.com>
License
MIT
Related Packages
bluestarsystem/aura-ui
Vibrant Depth UI component library for Laravel + Livewire + Alpine.js + Tailwind...
830
5
kore-ui/kore-ui
A modern UI component library for Laravel with Livewire 4, Tailwind CSS v4, and...
431
0
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.1.31 | ^8.1 | ^10.0| | MIT | |
| v0.1.30 | ^8.1 | ^10.0| | MIT | |
| v0.1.29 | ^8.1 | ^10.0| | MIT | |
| v0.1.28 | ^8.1 | ^10.0| | MIT | |
| v0.1.27 | ^8.1 | ^10.0| | MIT | |
| v0.1.26 | ^8.1 | ^10.0| | MIT | |
| v0.1.25 | ^8.1 | ^10.0| | MIT | |
| v0.1.24 | ^8.1 | ^10.0| | MIT | |
| v0.1.23 | ^8.1 | ^10.0| | MIT | |
| v0.1.22 | ^8.1 | ^10.0| | MIT | |
| v0.1.21 | ^8.1 | ^10.0| | MIT | |
| v0.1.20 | ^8.1 | ^10.0| | MIT | |
| v0.1.19 | ^8.1 | ^10.0| | MIT | |
| v0.1.18 | ^8.1 | ^10.0| | MIT | |
| v0.1.17 | ^8.1 | ^10.0| | MIT | |
| v0.1.16 | ^8.1 | ^10.0| | MIT | |
| v0.1.15 | ^8.1 | ^10.0| | MIT | |
| v0.1.14 | ^8.1 | ^10.0| | MIT | |
| v0.1.13 | ^8.1 | ^10.0| | MIT | |
| v0.1.12 | ^8.1 | ^10.0| | MIT | |
| v0.1.11 | ^8.1 | ^10.0| | MIT | |
| v0.1.10 | ^8.1 | ^10.0| | MIT | |
| v0.1.9 | ^8.1 | ^10.0| | MIT | |
| v0.1.8 | ^8.1 | ^10.0| | MIT | |
| v0.1.7 | ^8.1 | ^10.0| | MIT | |
| v0.1.6 | ^8.1 | ^10.0| | MIT | |
| v0.1.5 | ^8.1 | ^10.0| | MIT | |
| v0.1.4 | ^8.1 | ^10.0| | MIT | |
| v0.1.3 | ^8.1 | ^10.0| | MIT | |
| v0.1.2 | ^8.1 | ^10.0| | MIT |
Showing the latest 30 of 32. See every release on Packagist