A few actions. In a list it opens in its item; next to a button, where there is none, it floats.
Styles: components/button.css, components/select.css, components/item.css, components/card.css.
In a list
Code
<section class="moin-card">
<div class="moin-list">
<details class="moin-expand">
<summary>
<span class="moin-fill moin-truncate">In a list</span>
<i class="moin-chevron"></i>
</summary>
<div>
<button type="button" class="moin-item">
<span class="moin-strong">Restart</span>
</button>
<button type="button" class="moin-item" data-danger>
<span class="moin-strong">Remove</span>
</button>
</div>
</details>
</div>
</section>Next to a button
Code
<div class="moin-row" data-end>
<button type="button" class="moin-button" popovertarget="demo-menu" style="anchor-name:--demo-menu">Next to a button</button>
<div popover id="demo-menu" class="moin-menu" role="menu" style="position-anchor:--demo-menu">
<button type="button" class="moin-option" role="menuitem" popovertarget="demo-menu" popovertargetaction="hide">Restart</button>
<button type="button" class="moin-option" role="menuitem" popovertarget="demo-menu" popovertargetaction="hide">Remove</button>
</div>
</div>