Laravel form components provides common form components to help build forms faster using Tailwind CSS. Supports validation, old form values, and wire:model.
You can install the package via composer:
composer require rawilk/laravel-form-componentsYou can publish the config file with:
php artisan fc:publishTip: You can also publish the package views by adding the --views flag to the command:
php artisan fc:publish --viewsYou can view the default configuration here: https://github.com/rawilk/laravel-form-components/blob/main/config/form-components.php
For more documentation, please visit: https://randallwilk.dev/docs/laravel-form-components
For a demo of some of the components, please visit: https://laravel-form-components.randallwilk.dev
composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review my security policy on how to report security vulnerabilities.
This package is also heavily inspired by Laravel Form Components and Blade UI Kit.
This package was created to satisfy my own needs and preferences, and relies on TailwindCSS, TailwindUI, and AlpineJS for styling and functionality. You can always try one of these alternatives if your needs differ:
The MIT License (MIT). Please see License File for more information.
