Skip to main contentGatsby theme Carbon

Aside

The <Aside> component is a wrapper component that adds styling to make the text display smaller than the default body text; using body-long-01 and adds the correct top border styles.

It should only be used within a <Column> component with specific parameters. <Column colMd={2} colLg={3} offsetMd={1} offsetLg={1}>

Example

It is more important than ever that we own our own ethos, make palpable our brand values, and incorporate an instantly identifiable IBMness in everything we do.

Without aesthetic, design is either the humdrum repetition of familiar clichés or a wild scramble for novelty. Without aesthetic, the computer is but a mindless speed machine, producing effects without substance, form without relevant content, or content without meaningful form.

– Paul Rand

Aesthetic is defined as the philosophical theory or set of principles governing outward appearance or actions.

Code

components/Aside/Aside.js
<Column colMd={2} colLg={3} offsetMd={1} offsetLg={1}>
<Aside>
**Good design is always good design.** What we borrow from our own design
history is not a mid-century aesthetic in stylistic terms, but the modernist
attitudes and approach used at the time.
</Aside>
</Column>

Props

propertypropTyperequireddefaultdescription
aria-labelstringSpecify an aria-label value to provide a label to the inner aside element.
aria-labelledBystringSpecify an aria-labelledby value that references the id of an existing element to serve as a label for the inner aside element.
childrennode
classNamestringAdd custom class name