35 Ready-to-Use Components
Forms, navigation, feedback, overlays, data display and more — ready to use directly from Blade.
35 production-ready Blade components powered by Tailwind CSS and Alpine.js. Customizable, type-safe, and built for Laravel.

Stop rebuilding the same buttons, inputs, modals, dropdowns, tables, and feedback states for every Laravel application.
Basekit gives you 35 reusable Blade components with consistent styling, variants, sizing, theming, and interactive behavior — while keeping you in the Laravel ecosystem.
Use the components as they are, customize them to match your brand, or publish the underlying views when you need complete control.
Install the package with Composer:
composer require basekit-laravel/basekit-laravel-uiAdd Basekit to your application's main CSS file:
@import "./vendor/basekit-laravel/v1/basekit-ui.css";Interactive components such as modals, dropdowns, tabs, toasts, tooltips, and selects use Alpine.js.
If you're already using Livewire, Alpine.js is available through:
@livewireScriptsOtherwise, include Alpine.js in your layout:
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>Use Basekit components directly from your Blade templates:
<x-basekit-ui::card>
<x-slot:header>
<h2 class="text-xl font-semibold">Welcome back</h2>
</x-slot>
<x-basekit-ui::stack spacing="lg">
<x-basekit-ui::input
name="email"
type="email"
label="Email"
icon="envelope"
/>
<x-basekit-ui::input
name="password"
type="password"
label="Password"
/>
<x-basekit-ui::button
type="submit"
variant="primary"
icon="arrow-right"
>
Sign in
</x-basekit-ui::button>
</x-basekit-ui::stack>
</x-basekit-ui::card>That's it. No component scaffolding required.
Basekit comes with sensible defaults, but gives you more control when you need it.
For quick customization, override Basekit's CSS variables in your application:
:root {
--color-primary-600: #your-brand-color;
--button-radius: 0.5rem;
--card-padding: 2rem;
}Theme changes are applied through CSS variables, making it easy to adapt Basekit to your application's visual identity.
Publish the configuration file to control enabled components, variants, sizes, and defaults:
php artisan vendor:publish --tag=basekit-laravel-ui-configFor example:
// config/basekit-laravel-ui.php
return [
'components' => [
'button' => [
'enabled' => true,
'variants' => ['primary', 'secondary', 'danger'],
'sizes' => ['sm', 'md', 'lg'],
'default_variant' => 'primary',
'default_size' => 'md',
],
],
];Need deeper control over Basekit's styles? Publish the CSS theme:
php artisan vendor:publish --tag=basekit-laravel-ui-css-v1You can then customize the theme source directly for your application.
Need complete control over a component?
Publish the component views:
php artisan vendor:publish --tag=basekit-viewsPublished views are copied to resources/views/vendor/basekit/ and automatically override the package components.
Basekit's component-aware build system can generate CSS based on the components enabled in your configuration.
That means applications using only a subset of Basekit don't need to ship styles for every component.
In the included bundle-size comparison:
| Configuration | Bundle Size |
|---|---|
| All components | ~200KB |
| 3 components | ~55KB |
| Reduction | ~73% |
After configuring the components you need, build your optimized stylesheet:
php artisan basekit:ui:buildWhile developing, use watch mode to automatically rebuild when your configuration or styles change:
php artisan basekit:ui:build --watchThis gives you the convenience of a complete component library without requiring every application to ship the complete stylesheet.
Basekit includes 35 components organized around the UI patterns you'll use across Laravel applications.
Build accessible forms with consistent validation, states, sizing, and styling.
Communicate status, progress, loading states, and application feedback.
Help users move through your application and interact with actions.
Create consistent structure, spacing, and responsive layouts.
Present application content and data consistently.
Add interactive content without leaving the current page.
Utilities for application metadata and runtime theming.
Browse every component, variant, size, and state in the interactive style guide.
Or jump straight into your application: