Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-button" popovertarget="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-overlay" aria-controls="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-list" aria-haspopup="true" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Menu</span>
</span>
</button>
<anchored-position id="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-overlay" anchor="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true">
<div data-view-component="true" class="Overlay Overlay--size-auto">
<div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list>
<div data-view-component="true">
<ul aria-labelledby="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-button" id="action-menu-ed5fe971-3c58-4345-8099-8e9bca72cf16-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li value="" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" id="item-ff1e6ade-af1b-49f9-a2aa-406e479e1ac5" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<span class="copy-link">Copy link</span>
</span>
</button>
</li>
<li value="" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" id="item-bbf8cd92-448a-4604-8b1b-9a9211b9f923" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<span class="quote-reply">Quote reply</span>
</span>
</button>
</li>
</ul>
</div>
</action-list>
</div>
</div>
</anchored-position> </focus-group>
</action-menu>
1
2
3
4
5
6
7
8
9
<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>
<% menu.with_show_button { "Menu" } %>
<% menu.with_item(value: "") do %>
<span class="copy-link">Copy link</span>
<% end %>
<% menu.with_item(value: "") do %>
<span class="quote-reply">Quote reply</span>
<% end %>
<% end %>

No assets to display.