Segment

The Segment component provides a reusable pattern for segment in the interface.

Full Width Section

This layout gives you the ability to put the main content to the left

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Full Width Section - Width Cards

Full width content with sub components in slot.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

ALT

Heading

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

ALT

Heading

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

ALT

Heading

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

Split Section

This layout gives you the ability to put the main content to the left

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Hey! Have you seen this?

You can add a card inside this split section, or any other component. Awesome!

Reversed Split Section

This layout gives you the ability to put the main content to the left

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Featured Section

This layout gives you the ability to put the main content to the left

Stacked Split Section

Demonstrates how a stacked array of sections look like.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Card Section

This is a card that adapts to the width of the viewport.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Fusce Amet Parturient Etiam (no image, placeholder enabled)

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Segment with Call-to-Action Buttons

Demonstrates rendering a full-width segment with two call-to-action buttons placed beneath the content.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Segment with Date, Meta and Tags

Shows a split segment using date, meta label, and tags for article or event-style layouts.

Fusce Amet Parturient Etiam

Category · Author
# No label # No label

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Segment with Icon

Demonstrates the icon and iconBackgroundColor parameters displayed in a featured layout segment.

Large Text Segment

Shows the textSize large variant which increases the content font size on medium and larger screens.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Full Width with Light Overlay

Demonstrates the light overlay variant which applies a subtle brightness filter to the background image.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Segment Without Padding

Shows paddingTop and paddingBottom set to false, removing vertical spacing from a split segment.

Fusce Amet Parturient Etiam

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Stretched Segment

Demonstrates the stretch parameter which bleeds the segment to full viewport width, breaking out of its surrounding container.

Fusce Amet Parturient Etiam

Overflow hidden is applied on container. Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

Split Section With Tall Content

Demonstrates a split segment where the content column becomes taller than the image, causing the image to stretch to full height.

Split Section With Tall Content

Curabitur blandit tempus porttitor. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec sed odio dui. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

Additional content makes the text column taller

This card is included to demonstrate that the split image now stretches to match the content height when the content column grows larger than the image.

API

Parameter Default Type Description
full-width string -
false string|boolean -
false string|boolean -
default string -
false ComponentLibrary\Integrations\Image\ImageInterface|string|boolean -
false string|boolean -
false string|boolean -
dark string -
content string -
true boolean -
true boolean -
top string -
false boolean -
false string|boolean -
false boolean -
false array|boolean -
false string|boolean -
false string|boolean -
false array|boolean -
false array|boolean -
null ?string -
false string|boolean -
true boolean -
[] array|boolean -
false boolean -

CSS API

Variable Default Type Values Description
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--base) range - Main unit that drives radius and spacing scales.
var(--border-radius) range - Border Radius
var(--color--primary) color - Primary
var(--color--secondary) color - Secondary
var(--font-size-90) range - One step below base in the type scale.
var(--font-size-100) range - Base font size.
var(--font-size-200) range - One step above base in the type scale. Equivalent to h6/subtitle.
var(--font-size-300) range - Two steps above base in the type scale. Equivalent to h5.
var(--font-size-400) range - Three steps above base in the type scale. Equivalent to h4.
var(--font-size-500) range - Four steps above base in the type scale. Equivalent to h3.
var(--font-size-600) range - Five steps above base in the type scale. Equivalent to h2.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--color--alpha) rgba - Used for overlays. Includes opacity — set both color and alpha together.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--color--alpha-contrast) color - Used for text and icons on alpha overlays.