A set of Blade Components based on Boostrap-4 CSS Framework
hirohitopg/blade-bootstrap-components is a Laravel package for a set of blade components based on boostrap-4 css framework.
It currently has 0 GitHub stars and 16 downloads on Packagist (latest version v1.1.1).
Install it with composer require hirohitopg/blade-bootstrap-components.
Discover more Laravel packages by hirohitopg
or browse all Laravel packages to compare alternatives.
Last updated
A new set of Blade components to rapidly build forms with Bootstrap 5.
You can install the package via composer:
composer require hostmoz/blade-bootstrap-components
For some components to work correctly(ex: date-picker) you will need to publish the package assets using the command below:
php artisan vendor:publish --tag=bootstrap-assets --force
There is no configuration needed unless you want to customize the Blade views and components.
<x-bootstrap::form.form>
<div class="row">
<div class="col-12 mb-3">
<x-bootstrap::form.input name="name" label="Your Name" />
</div>
<div class="col-12 mb-3">
<x-bootstrap::form.select name="country_code" :options="$countries" label="Select a Country"/>
</div>
<div class="col-12 mb-3">
<x-bootstrap::form.date-picker name="teste" label="Pick a Date"/>
</div>
</div>
<div class="row">
<div class="col-6">
<!-- Inline radio inputs -->
<x-bootstrap::form.group name="newsletter_frequency" label="Newsletter frequency" inline>
<x-bootstrap::form.radio name="newsletter_frequency" value="daily" label="Daily" />
<x-bootstrap::form.radio name="newsletter_frequency" value="weekly" label="Weekly" />
</x-bootstrap::form.group>
</div>
<div class="col-6">
<x-bootstrap::form.group>
<x-bootstrap::form.checkbox name="subscribe_to_newsletter" label="Subscribe to newsletter" />
<x-bootstrap::form.checkbox name="agree_terms" label="Agree with terms" />
</x-bootstrap::form.group>
</div>
</div>
</x-bootstrap::form.form>
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.