Laravel components
25 Blade components extracted from the template’s own markup — cards, stats, tables, badges, banners and form controls.
Last updated September 9, 2026
The Laravel edition is a Composer package — ColorlibHQ/gentelella-laravel. Live demo →
25 anonymous Blade components, extracted from the HTML edition’s own markup rather than designed fresh — so the compiled CSS applies unchanged and the two editions look identical.
<x-gentelella::page-header title="Customers" pretitle="Data">
<x-slot:actions>
<x-gentelella::btn variant="primary">New customer</x-gentelella::btn>
</x-slot>
</x-gentelella::page-header>
<x-gentelella::card title="All customers" subtitle="Sortable, searchable, paginated." flush>
<x-slot:options><x-gentelella::card-options /></x-slot>
<x-gentelella::table datatable :page-length="10" selectable export="customers">
<tbody>…</tbody>
</x-gentelella::table>
</x-gentelella::card>
The set
| Group | |
|---|---|
| Layout | card, card-options, page-header, divider, table |
| Data | stat, progress, status, badge, chip, avatar, timeline, timeline-item |
| Navigation | tabs, accordion, accordion-item, list-group, list-group-item |
| Feedback | banner, empty-state, skeleton, spinner |
| Controls | btn, toggle |
| Internal | field-group, auth.card — used by the field and auth views |
Attributes pass through
Every component merges extra attributes rather than replacing them:
<x-gentelella::card class="chart-card" data-chart="revenue">…</x-gentelella::card>
{{-- <div class="card chart-card" data-chart="revenue"> --}}
Notable behaviour
cardrenders a header only when there is something to put in it.flushskips the.card-bodyfor content that manages its own padding — a table wrapper, say.btnrenders an<a>when givenhref, otherwise a<button>.progressclampsvalueto 0–100 and strips itstoneto[a-z0-9-]. Both land inside an inlinestyle, and both routinely come from database values.statinfers the change direction from the sign unlessdirectionis given, and clamps sparkline bar heights the same way.accordion-itemis a native<details>, so it works with JavaScript disabled.toggleis arole="switch"witharia-checked.
Overlays
Use the JavaScript the template already ships — showModal(), showToast(), openMenu() — rather
than hand-rolling markup. They handle outside-click, escape and focus return.
Customising
php artisan vendor:publish --tag=gentelella-views
Copies every view into resources/views/vendor/gentelella, where Laravel will prefer them.