Skip to content

Content section

kodiakhq[bot] edited this page Jan 19, 2022 · 26 revisions

Layout component

The Content section is a core component that can be used as a section level wrapper. It includes a heading and optional children.

content-section--static


Table of contents

Dependencies (2)

Used by (5)

Back links (2)

Card section carousel (1)

  • Card section carousel combines the Content section,

Content block (1)

  • Content section. Many of the options available at this level are...

Resources



image Should consider replacing heading, copy, and CTA with a Content item. Issue right now is hierarchy H2 vs H4?


1. Heading

optional string

An optional short String of text to be displayed as an H2 level heading, and indicates a change in section.

image Is this an H2 even when it has a child of Content block that is also an H2, or is it more of an either or situation?


Back to top


2. Copy

optional string

An optional short String of text that describes the section in a little more detail.


Back to top


3. CTA

optional component

An optional section level CTA that allows a user to navigate to related content.

Properties and values
props values
4.1 type All except for jump
4.2 style text

image See CTA for more information.


Back to top


4. Children

optional container

An optional container area that child components, and other content types can be passed into.

When nesting children use with the Layout utility's 8-4 and nested option set to true for proper alignment to the Carbon 2x grid.

Example

content-section


Back to top


5. Layout

built-in component

The Content Section uses the Layout core component to position itself and body content in the expected column layout. Refer to Layout functional specs for details

Properties and values
props values
5.1 type 4-12
5.2 nested false

image See Video for more information.


Back to top


Website guidelines

Publishing guidelines (6)

Functional specs

Layout component (37)
Service (3)
UI component (34)
Utility (5)

Additional components

Carbon component (19)
Design only (9)
Feature flag (3)
Clone this wiki locally