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.

API

Parameter Default Description
full-width Which layout to use
false The title of the segment
false The content of the segment
default The sizing of the font
false Add a URL for an image
false The background color, hex value or a color name (i.e. primary, secondary, etc)
false Which overlay to use
dark Color of the text
content Height behavior of the sections height
true If it should have padding in the top
true If it should have padding in the bottom
top How to align the text vertically
false If image and text should change order
false Add an overlay over an image to make text more legible
false Always stretch the section vertically. Makes the section the width of the viewport. Requires a centered container.
false Array of buttons according to the @button specification. Do not use more than two buttons, one primary and on secondary.
false The date
false The meta text
false Array of tags according to the tags component
false An array with the same specification as the icon component
The background color of the icon
false Link will be applied to the title and the image (if any). If there is one (1) button defined and no link is defined, the button will be used as the link.
true Sets image specific styling based on the image being a placholder image.
[] An array with labels used in the component.

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-200) range - One step above base in the type scale. Equivalent to h6/subtitle.
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.