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

Menu

Navigation with one current item, optional section titles and optional nested groups. It owns its frame, unlike navbar and dock, which are placement only.

ClassEffectType
.menu
Navigation with one current item, optional section titles and optional nested groups. It owns its frame, unlike navbar and dock, which are placement only. root
.menu-horizontal
Sets direction, one class per value. axis direction
.menu-xs.menu-sm.menu-md.menu-lg.menu-xl
Sets size, one class per value. axis size
.menu-active
Where the visitor currently is. part
.menu-disabled
Unreachable, and drawn as such. part
.menu-item
One row. The component draws it as an <a> when the node has an href, a <button> otherwise. part
.menu-sub
The nested group itself. part
.menu-sub-closed
Collapsed. The animation is in the CSS; the component only swaps the class. part
.menu-title
A section heading between two groups. An empty <li> is a divider. part
.menu-toggle
A row that carries a nested group, and therefore opens it. part