Wrapper

Allows to center content within a page.

Published Last updated: 5.8.0 Change log Github NPM
Twig Usage
{% include '@bolt-elements-wrapper/wrapper.twig' with {
  content: 'This is a wrapper'
} only %}
Schema
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case.
Prop Name Description Type Default Value Option(s)
attributes

A Drupal-style attributes object with extra attributes to append to this element.

object
content

Content of the wrapper.

any
Install Install
npm install @bolt/elements-wrapper
Dependencies @bolt/core-v3.x