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}>
Warning: If you use more than one <Aside>
component on a single page, you need to provide an accessibility label so that someone using assistive technology can quickly understand the purpose of the landmark. See Mozilla Developer Network’s documentation for more information. Props for accessibility labels are described in the Props section below.
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.
– Paul RandWithout 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.
Aesthetic is defined as the philosophical theory or set of principles governing outward appearance or actions.
Code
Props
property | propType | required | default | description |
---|---|---|---|---|
ariaLabel | string | Specify an aria-label value to provide a label to the inner aside element. | ||
ariaLabelledBy | string | Specify an aria-labelledby value that references the id of an existing element to serve as a label for the inner aside element. | ||
children | node | |||
className | string | Add custom class name |