Container
Group, lay out, style, and link other components
The Container component is the primary wrapper for grouping related components. It controls content width and alignment, backgrounds, overlays, spacing, borders, links, filtering, and how the Container behaves inside Flex and Grid layouts.
Project-wide container widths can be set for each breakpoint in Theme Studio → Screens.
How to Use Container
You’ll find Container under Layout in the Components list.
Drag Container onto the page.
Add components to its drop zone.
Set the content width, height, alignment, and gap.
Add padding to create space inside the section and margin to position it externally.
Apply a background, overlay, border, or link if required.
Component Settings
Tags and Filter
The Tags collection adds tag titles used by Filter and Filter Tags.
Enable Filter to make the Container a filterable item. Choose Parent or Custom grouping; Custom reveals a Group ID. The transition can be Dim, Zoom Out, or Slide.
Link
To can make the whole Container clickable. Do not use a Container link when it contains Buttons, links, form controls, or other interactive components.
Flexbox and Grid
Type
Default — Uses normal layout behaviour.
Grid Item — Exposes grid column, row, span, and placement controls.
Flex Item — Exposes flex order, growth, shrink, basis, and self-alignment controls.
Standard and Advanced modes reveal the appropriate level of placement control. These settings apply only when the Container is inside the matching Grid or Flex parent.
Content Layout
Width offers Auto, Full, Screen, Breakpoint, or Theme Spacing. Breakpoint is the default. Theme Spacing reveals a value that defaults to 36.
Height offers the same modes and defaults to Auto. Its Theme Spacing value also defaults to 36.
Align and Justify position the Container’s content box within the Container — Align on the block axis and Justify on the inline axis. Both offer Auto, Start, End, Centre, or Stretch and default to Centre.
Gap controls spacing between child components and defaults to 0.
Effects, Filters, and Transforms
Each group has a To setting:
Everything — Applies to content and background. This is the default.
Background — Applies only to the background layer.
Content — Applies only to child content.
The remaining controls configure the selected effect, filter, or transform.
Background and Background Overlay
Background supports colour, image, gradient, SVG, and video styles where shown. Configure resources, colours, opacity, image positioning, gradient stops, or video options for the selected type.
Background Overlay adds a separate colour, gradient, image, or effect layer above the background and behind the content.
Advanced
HTML Tag changes the Container’s semantic wrapper. Choose an appropriate standard tag or enter a custom one.
The Custom Attributes collection adds Attribute and Value pairs to the Container’s HTML. Use valid attributes and avoid duplicating built-in controls such as ID and class.
Tips and Best Practices
Use padding for internal space: Margin separates the Container from surrounding components.
Use Auto margins deliberately: Equal left and right Auto margins centre a fixed-width Container.
Keep structure meaningful: Prefer semantic HTML tags when the Container represents a section, header, footer, or main region.
Apply one-off utility styles carefully: For example, adding
blur-smunder Advanced → CSS Classes blurs the Container and its contents. See the Tailwind blur utilities and Tailwind CSS documentation.
Related Components
Flex — Arranges children in a row or column.
Grid — Creates two-dimensional layouts.
Background — Adds angled or fixed backgrounds.
Filter — Searches tagged Containers.
Link to a page, resource, anchor, email address, or website.
Control positioning, stacking, visibility, overflow, and isolation.
Set width, height, and responsive size constraints.
Add responsive margin and padding.
Control fonts, text spacing, decoration, colour, and semantic wrappers.
Apply colour, image, gradient, SVG, video, and hover backgrounds.
Choose what animates and set its timing curve, duration, and delay.
Apply shadows, opacity, and hover effects.
Apply blur, brightness, saturation, shadow, and backdrop effects.
Scale, rotate, move, and skew components.
Set border style, colour, opacity, width, radius, and hover states.
Add CSS classes and IDs, or change supported HTML tags.
Last updated
Was this helpful?

