You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: A Menu with an interactive header, built with a Dialog and Popover.
25
+
description: A Menu with an interactive header, built with a Popover.
27
26
---
28
27
29
28
# Account Menu
30
29
31
-
A [Menu](../Menu.html) with an interactive header, built with a [Dialog](../Dialog.html) and [Popover](../Popover.html).
30
+
A [Menu](../Menu.html) with an interactive header, built with a [Popover](../Popover.html).
32
31
33
32
## Example
34
33
35
-
For accessibility reasons, standalone Menus cannot contain any children other than menu items (optionally grouped into sections). To build patterns that include such elements, place the Menu into a Dialog with additional interactive elements as siblings.
34
+
For accessibility reasons, standalone Menus cannot contain any children other than menu items (optionally grouped into sections). To build patterns that include such elements, place the Menu into a Popover with additional interactive elements as siblings.
36
35
37
36
```tsx import
38
37
import'./tailwind.global.css';
@@ -152,11 +151,4 @@ module.exports = {
152
151
<Popover />
153
152
</ExampleCard>
154
153
155
-
<ExampleCard
156
-
url="../Dialog.html"
157
-
title="Dialog"
158
-
description="A dialog is an overlay shown above other content in an application.">
0 commit comments