marshmallow/components

Extendend Laravel Blade Components for Marshmallow

Maintainers

Package info

github.com/marshmallow-packages/components

Homepage

Language:Blade

pkg:composer/marshmallow/components

Fund package maintenance!

marshmallow

Statistics

Installs: 7 415

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.5.0 2026-03-18 12:01 UTC

README

alt text

Extended Laravel Blade Components for Marshmallow

Latest Version on Packagist Total Downloads

A collection of reusable Blade components for Laravel by Marshmallow — form fields, navigation elements and a few product/UI helpers, all registered under the mm- prefix.

Installation

Install the package via Composer:

composer require marshmallow/components

The package is auto-discovered, so there is nothing else to register. The components become available immediately.

Optionally, publish the views to your application so you can customise the markup:

php artisan vendor:publish --provider="Marshmallow\Components\ComponentsServiceProvider" --tag="marshmallow-views"

Published views are written to resources/views/vendor/marshmallow.

Usage

Every component is registered with the mm- prefix and can be used directly in your Blade templates:

<x-mm-button href="/checkout">Continue</x-mm-button>

<x-mm-input name="email" type="email" />

<x-mm-errors />

Available components

Form fields

mm-button, mm-checkbox, mm-default-authentication-card, mm-default-input, mm-divider, mm-email, mm-error, mm-errors, mm-image-modal, mm-input, mm-label, mm-link, mm-list-image, mm-number, mm-outline-button, mm-password, mm-radio, mm-secondary-button, mm-select, mm-textarea, mm-tooltip-label, mm-tooltip, mm-usp-fontawesome, mm-white-button, mm-wysiwyg.

Navigation

mm-navigation.cart, mm-navigation.dropdown-link, mm-navigation.dropdown, mm-navigation.link, mm-navigation.responsive-nav-link.

Products

mm-product.image.

You can inspect or override any of these by publishing the views (see Installation) and editing the files in resources/views/vendor/marshmallow/components.

Testing

composer test-coverage

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.