Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Sidebar

An app's side column — a brand, a menu, an account — that folds to a rail. In the flow, unlike a Drawer: the page beside it narrows or widens, it is never covered. This app's own navigation is one.

ClassEffectType
.sidebar
The column, at --sidebar-width. root
.sidebar-end
On the end side of the page. axis side
.sidebar-xs.sidebar-sm.sidebar-md.sidebar-lg.sidebar-xl
Sets size, one class per value. axis size
.sidebar-body
The scrolling middle: usually a .menu. part
.sidebar-collapsed
Folded to --sidebar-rail: only the head's toggle stays, the rest fades out. part
.sidebar-foot
The bottom row. part
.sidebar-head
The top row: a brand, then the toggle. part
.sidebar-keep
A head child kept on the rail (a logo). part
.sidebar-layout
Optional: the full-height row of the sidebar and the page beside it. part
.sidebar-toggle
The fold button. part