Blade Components

Forwarding attributes

10:54 · By Caleb Porzio

Level up. Big time.

Instant access to over 8 hours of content. Explore tons of course code and use it in your own apps.

Yearly

$69 /yearly

Access all screencasts and source code by subscribing on a yearly basis.

Lifetime

$149

Pay once, and get access to all future screencasting content. Forever.

Already a GitHub sponsor? Email us for a discount.

Laravel provides an `$attributes` object to components that allows you to merge default classes and attributes with passed-in ones. It's really the "killer" feature of Blade components, so let's learn all about it.

Share