Components
Every component is a PHP class with a fluent API. It renders accessible Bootstrap 5.3 markup, and the JavaScript bundle enhances it on the client. The demos below are the real components, rendered by PHP when this site is built; the site's dark mode applies to them too.
| Component | PHP class | Library |
|---|---|---|
| Grid | Caelrik\Ui\Components\Grid | DataTables 3 |
| List view | Caelrik\Ui\Components\ListView | – |
| Tree view | Caelrik\Ui\Components\TreeView | – |
| Tree list | Caelrik\Ui\Components\TreeList | – |
| Task board | Caelrik\Ui\Components\TaskBoard | SortableJS 1 |
| Actions | Caelrik\Ui\Components\Action | – |
| Chart | Caelrik\Ui\Components\Chart | Chart.js 4 |
| Form and fields | Caelrik\Ui\Components\Form, Form\Field | Parsley.js, Inputmask |
| Searchable selects and tags | Field::select()->searchable(), Field::tags() | Tom Select 2 |
| Form layout and wizard | Form\Section, Form::columns(), Form::wizard() | – |
| Repeater | Form\Repeater | – |
| Rich text editor | Field::editor() | Quill 2 |
| File upload | Field::file() | FilePond 4 |
| Scheduler | Caelrik\Ui\Components\Scheduler | FullCalendar 6 |
| Admin layout, navigation, breadcrumb, user menu | AdminLayout, Navigation, Breadcrumb, UserMenu | Bootstrap 5 (offcanvas) |
| Menus and toolbar | MenuButton, SplitButton, Toolbar, ContextMenu | – |
| Accordion, card, splitter | Accordion, Card, Splitter | Bootstrap 5 |
| Tile layout | TileLayout | Bootstrap 5 |
| Stats and dashboards | Stat, Stats | – |
| Badges, avatars, chips, tooltips, progress | Badge, Avatar, Chip, Tooltip, Popover, Progress, Loader, Skeleton | Bootstrap 5 |
| Timeline | Timeline | – |
| Carousel | Carousel | – |
| Gauges and sparklines | Gauge, Sparkline | – |
| Gantt chart | Gantt | – |
| Map | Map | Leaflet 1.9 |
| Org chart | OrgChart | – |
| Diagram | Diagram | – |
| QR code and barcode | QrCode, Barcode | – |
| PDF viewer | PdfViewer | PDF.js 6 |
| Media player | MediaPlayer | Plyr 3 |
| Record view | RecordView, RecordView\Entry | – |
| Modal | Caelrik\Ui\Components\Modal | Bootstrap 5 |
| Tabs | Caelrik\Ui\Components\Tabs | Bootstrap 5 |
| Notification | Caelrik\Ui\Components\Notification | Notyf 3 |
| File manager | Caelrik\Ui\Components\FileManager | elFinder 2.1 |
| Theme builder | Caelrik\Ui\Components\ThemeBuilder | – |
Grid
List view
Tree view
Tree list
Task board
Chart
Form
The Form page has a demo for each kind of field:
| Fields | Section |
|---|---|
| Text, e-mail, password, phone (with a mask), number, textarea, hidden | Fields |
| Date, time and date-time, date and time ranges | Dates, times and ranges |
| Searchable, multiple and remote selects | Searchable and multiple selects |
| Tags (free text and suggestions) | Tags |
| One-time code (OTP) | One-time codes |
| Key-value list | Key-value lists |
| Radio group, checkbox group, switch, range, color, star rating | Choices, switches, sliders, colors and ratings |
| Rich text, files | Rich text editor, File upload |
| Sections, columns, a multi-step wizard, repeatable rows | Layout, Wizard, Repeater |