Skip to content

AsideHeader

Open .md
Live preview

Loading example…

AsideHeader is part of the Containers set, imported from @jcsoftdev/ui/containers.

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

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

<AsideHeader>
<>
<AsideHeader title="Pending" action={<a href="#all">View all</a>} />
<Note>Nothing pending.</Note>
</>
</AsideHeader>
Prop Type Default Description
title * ReactNode
action ReactNode End slot, usually a link.

* marks a required prop.

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