Skip to content

Aside

Open .md
Live preview

Loading example…

Complementary column content (<aside>), named “Related information” unless given an aria-label. The column’s width, surface and gutter belong to the page layout; the aside and its parts render flush to it.

import { Aside } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/aside.

<Aside>
<>
<AsideHeader title="Pending" action={<a href="#all">View all</a>} />
<Note>Nothing pending.</Note>
</>
</Aside>

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/aside/aside.tsx