SDAIA
SDAIA LogoSDAIA Logo
HomeComponentsMenu
IntroductionInstallationFAQBrands
TypographySpacingRadiusGrid layoutsAll Tokens
All Components
AccordionActivityArea ChartAudio PlayerAvatarAvatarGroupCarousel ImageChartChipCode SnippetColumn ChartContext MenuDigital StampDividerDonut ChartDraggable ListDropdownEmpty StateFiltrationFooterImage ViewerLine ChartListMedia GalleryMenuMetricNav BarNav HeaderNumberPDF ViewerPie ChartPopoverProgress CircleQuoteRadial StepperScatterSecond Nav HeaderSlideout MenuStructured ListTableTable of ContentTree ViewVertical TabsVideo Player
Agent ActivityAgent CardAgent HandoffAI CitationAI Code BlockAI DisclaimerAI MessageAI Message BubbleAI Prompt InputAI StatesAI Status IndicatorAI Suggested PromptsAI Thinking IndicatorArtifact ViewerCitationContext ManagerPrompt ContextPrompt SuggestionPrompt TemplatePrompt VariableReasoning TraceSource ExplorerSource GroupSource ReferenceThinking PanelTool Activity FeedTool CallTool Status RowTool Timeline ItemVoice Session
BreadcrumbButtonButton MenuButton SplitContent SwitcherDate PickerFloating ButtonHorizontal TabsLinkModalPaginationRadio ButtonSwitchTag
AutocompleteCheckboxFile UploadNumber InputRange SliderRich Text EditorSelectSignatureSliderText AreaText Input
AlertsBadgeCardFeedbackFeedback OverviewHelp IconLoading IndicatorNotification BannerNotification PopupNotificationsProgress BarRatingRating OverviewSkeletonSkeleton/AvatarsTooltip
Sdaia Logo Animation
Sdaia Touch ButtonsSdaia Touch Switch

Menu

Menu renders a vertical list of navigation or action items with optional background fill, border, and RTL layout support.

Loading demo: menu-real-world

Installation

npx sdaia-ui@latest add menu

Usage

import { Menu } from "@/components/ui/menu"
1<Menu />
2<Menu background={true} border={true} />

Examples

Glass Effect

Use surface="glass" to enable Glass Effect.

Loading demo: menu-glass

Default

The default menu without background fill or border.

Loading demo: menu-default

With Background

Set background=true to add a filled background behind the menu.

Loading demo: menu-background

With Border

Set border=true to add a border around the menu container.

Loading demo: menu-border

API Reference

MenuProps

Props for the Menu component.

Prop

Type

Default

Required

sections

MenuSectionData[]

-

optional

value

string | null

-

optional

defaultValue

string | null

null

optional

onValueChange

(value: string) => void

-

optional

background

boolean

false

optional

border

boolean

false

optional

divider

boolean

true

optional

children

ReactNode

-

optional

dir

"ltr" | "rtl"

—

optional
Media Gallery
Metric
On this page