Menu

readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.

Description

Use Menu to create vertical lists of navigational links.

Arguments

NameDefaultDescription
system_arguments

Slots

heading

Optional menu heading

NameDefaultDescription
tag
Symbol

One of :h1, :h2, :h3, :h4, :h5, or :h6.

system_arguments

items

Required list of navigational links

NameDefaultDescription
href
String

URL to be used for the Link

selected
Boolean

Whether the item is the current selection

system_arguments