Back to Hugo

wrapper component

docs/content/en/quick-reference/glossary/wrapper-component.md

0.161.1317 B
Original Source

A wrapper component is an interface pattern that encloses other content through composition rather than fixed parameters. It provides a reusable shell to handle layout, styling, or logic, allowing the calling template to inject arbitrary content into the component's interior.

See also: partial decorator.