Content section - carbon-design-system/carbon-for-ibm-dotcom-website GitHub Wiki
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.
Back links (2)
- Card section carousel combines the Content section,
Content block (1)
- Content section. Many of the options available at this level are...
Should consider replacing heading, copy, and CTA with a Content item. Issue right now is hierarchy
H2
vsH4
?
optional
string
An optional short String
of text to be displayed as an H2
level heading, and
indicates a change in section.
Is this an
H2
even when it has a child of Content block that is also anH2
, or is it more of an either or situation?
optional
string
An optional short String
of text that describes the section in a little more
detail.
optional
component
An optional section level CTA that allows a user to navigate to related content.
props | values | |
---|---|---|
4.1 |
type |
All except for jump
|
4.2 |
style |
text |
See CTA for more information.
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 totrue
for proper alignment to the Carbon 2x grid.
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
props | values | |
---|---|---|
5.1 |
type |
4-12 |
5.2 |
nested |
false |
See Video for more information.