Intelligence Community Design System ICDS Get started Accessibility Styles Components Patterns Community
Show navigation section

Section container

Guidance Code Accessibility

Component demo

Interactive example

<ic-section-container>
<divclass="content-container">
<ic-chiplabel="Americano"></ic-chip>
<ic-chiplabel="Cappuccino"></ic-chip>
<ic-chiplabel="Latte"></ic-chip>
</div>
</ic-section-container>

Section container details

Props

All components also accept native properties supported by the DOM, such asclassName and style .

Name Description Default
Property aligned
Attribute aligned

The alignment of the container.

type: IcAlignment - "center" | "full-width" | "left" | undefined
"left"
Property fullHeight
Attribute full-height

Iftrue , the standard vertical padding from the container will be removed.

type: boolean - boolean | undefined
false
Property aligned
Attribute aligned

The alignment of the container.

type: IcAlignment - "center" | "full-width" | "left" | undefined
Default: "left"
Property fullHeight
Attribute full-height

Iftrue , the standard vertical padding from the container will be removed.

type: boolean - boolean | undefined
Default: false

Variants

Center align

Interactive example

<ic-section-containeraligned="center">
<divclass="content-container">
<ic-chiplabel="Americano"></ic-chip>
<ic-chiplabel="Cappuccino"></ic-chip>
<ic-chiplabel="Latte"></ic-chip>
</div>
</ic-section-container>

Full-width align

Interactive example

<ic-section-containeraligned="full-width">
<divclass="content-container">
<ic-chiplabel="Americano"></ic-chip>
<ic-chiplabel="Cappuccino"></ic-chip>
<ic-chiplabel="Latte"></ic-chip>
</div>
</ic-section-container>

Full height

Interactive example

<ic-section-containeraligned="center"full-height="true">
<divclass="content-container">
<ic-chiplabel="Americano"></ic-chip>
<ic-chiplabel="Cappuccino"></ic-chip>
<ic-chiplabel="Latte"></ic-chip>
</div>
</ic-section-container>

Last reviewed 31 May 2024 .
Navigated to Section container - Intelligence Community Design System