Skip to content

Content section

photodow edited this page Jul 30, 2021 · 7 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 (4)

Back links (2)

Card section carousel (1)

  • Card section carousel combines the Content section, Carousel components, and CTA Cards...

Content block (1)

  • ...placing them within the Carbon 2x grid or a 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 component'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

Design guideline drafts (6)
Design office hours (1)
Publishing guidelines (5)

Functional specs

Layout component (35)
Service (3)
UI component (32)
Utility (4)

Additional components

Carbon component (16)
Design only (10)
Feature flag (3)
Clone this wiki locally