Previews

No matching results.

x
1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;">
<button id="tooltip-nw" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Tooltip northwest</span>
</span>
</button><tool-tip id="tooltip-431e47aa-bd09-4e0e-9bbd-48a89d6fec07" for="tooltip-nw" popover="manual" data-direction="nw" data-type="description" data-view-component="true" class="sr-only position-absolute">This is a tooltip</tool-tip>
</div>
1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;">
<%= render(Primer::Beta::Button.new(id: "tooltip-nw")) do |b| %>
<% b.with_tooltip(text: "This is a tooltip", direction: :nw) %>
Tooltip northwest
<% end %>
</div>

No assets to display.