تخطَّ إلى المحتوى

Menu

هذا المحتوى غير متوفر بلغتك بعد.

A menu lists actions or choices for one object. Items are short verbs. Group related items and separate groups with a divider. A destructive item sits last and says what it does.

Read from the component manifest, so this is the component’s own contract. See Overlays for layers, stacking and dismissal shared by all layers.

Stagestable
Accessibility
  • role="menu" with roving focus: arrow keys, Home/End, typeahead, Escape returns focus to the trigger.
DocsStorybook
Stagestable
DocsStorybook
Stagestable
DocsStorybook
Stagestable
Accessibility
  • role="menuitem"; activating it closes the menu.
DocsStorybook
Stagebeta
Accessibility
  • role="menuitemcheckbox" with aria-checked; Space or Enter toggles it.
DocsStorybook
Stagebeta
Accessibility
  • role="group" of menuitemradio; arrow keys move, Space or Enter selects.
DocsStorybook
Stagebeta
Accessibility
  • role="menuitemradio" with aria-checked.
DocsStorybook
المسؤول
Okrado founders
آخر تحديث
تُراجَع قبل