Skip to content

Glossary: Laravel

@props

A Blade line at the top of a component that lists the values (props) it accepts, with defaults. The layout uses it to give each page a title of 'Kettle & Crane' unless the page passes another.

Where the book teaches it

Related terms

ComponentPropSlot