daniellefence / inputs
README
The daniellefence/inputs
package provides a set of customizable, Livewire-compatible input components for Laravel applications. It supports a wide variety of input types including text, email, tel, textarea, select dropdowns, and fulltext (Trix-based rich text editor). These inputs are styled using Tailwind CSS and are optimized to work seamlessly inside Livewire components.
Installation
You can install the package via composer:
composer require daniellefence/inputs
Usage
<!-- Basic text input --> <x-df::input name="email" type="email" wire:model="email" label="Email Address" /> <!-- Textarea --> <x-df::input variant="textarea" name="message" wire:model="message" label="Your Message" /> <!-- Select --> <x-df::input variant="select" name="status" :options="['draft' => 'Draft', 'published' => 'Published']" wire:model="status" label="Status" /> <!-- Fulltext (Trix Editor) --> <x-df::input variant="fulltext" name="body" wire:model="body" label="Article Body" />
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email sbarron@daniellefence.net instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Developed and Maintained By
Developed and maintained by the IT/Marketing department at Danielle Fence and Outdoor Living.