sigilUI

Aside

Sidebar panel with configurable width, optional sticky positioning, and border control.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Aside } from "@sigil-ui/components";

Usage

<Aside sticky={false}>
  <nav>Sidebar navigation</nav>
</Aside>

Custom width and border

<Aside width={320} borderSide="left">
  Right-placed sidebar with left border
</Aside>

Non-sticky

<Aside sticky={false} borderSide="none">
  Scrolls with content, no border
</Aside>

Props

PropTypeDefaultDescription
widthnumber | string256Sidebar width (number = px)
stickybooleantrueStick to viewport top with position: sticky
borderSide"left" | "right" | "none""right"Which side to show a border
classNamestring—Additional CSS classes