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
<div style="display: grid; place-content: center;">
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-button" popovertarget="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-overlay" aria-controls="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-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 data-target="action-menu.overlay" id="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-overlay" anchor="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-button" align="end" 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-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-button" id="action-menu-a3a1654f-3c2a-477c-ab8d-1f6d4f0330ad-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-4785d1bb-e6c1-4be7-9e65-55cc5bb52cb4" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Item
</span>
</button>
</li>
</ul>
</div>
</action-list>
</div>
</div>
</anchored-position> </focus-group>
</action-menu></div>
1
2
3
4
5
6
<div style="display: grid; place-content: center;">
<%= render(Primer::Alpha::ActionMenu.new(anchor_align: :end)) do |component| %>
<% component.with_show_button { "Menu" } %>
<% component.with_item(label: "Item", tag: :button, value: "") %>
<% end %>
</div>

No assets to display.