x
<button data-controller="polaris-button polaris" data-target="#demo-modal" data-action="polaris#openModal" type="button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Open
</div>
</span>
</button>
<div id="demo-modal" data-controller="polaris-modal" data-polaris-modal-open-value="true" data-polaris-modal-hidden-class="Polaris--hidden" data-polaris-modal-backdrop-class="Polaris-Backdrop" class="Polaris-Modal-Dialog__Container Polaris--hidden">
<div>
<div role="dialog" aria-modal="true" tabindex="-1" class="Polaris-Modal-Dialog">
<div class="Polaris-Modal-Dialog__Modal">
<div class="Polaris-Modal-Header">
<div class="Polaris-Modal-Header__Title">
<h2 class="Polaris-DisplayText Polaris-DisplayText--sizeSmall">
Reach more shoppers with Instagram product tags
</h2>
</div>
<button type="button" aria-label="Close" data-action="polaris-modal#close" class="Polaris-Modal-CloseButton">
<span class="Polaris-Icon Polaris-Icon--colorBase Polaris-Icon--applyColor">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414L10 8.586 3.707 2.293a1 1 0 0 0-1.414 1.414L8.586 10l-6.293 6.293a1 1 0 1 0 1.414 1.414L10 11.414l6.293 6.293A.998.998 0 0 0 18 17a.999.999 0 0 0-.293-.707L11.414 10z"></path></svg>
</span>
</button> </div>
<div class="Polaris-Modal__BodyWrapper">
<div data-polaris-scrollable-shadow-value="false" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Modal__Body Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<div class="Polaris-Modal-Section">
<div class="Polaris-TextContainer">
<p>
Use Instagram posts to share your products with millions of
people. Let shoppers buy from your store without leaving
Instagram.
</p>
</div>
</div>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
<div class="Polaris-Modal-Footer">
<div class="Polaris-Modal-Footer__FooterContent">
<div class="Polaris-Stack Polaris-Stack--alignmentCenter">
<div class="Polaris-Stack__Item Polaris-Stack__Item--fill"></div>
<div class="Polaris-Stack__Item">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Learn more
</div>
</span>
</button>
</div>
<div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Add instagram
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<%= polaris_button(data: {
controller: "polaris",
target: "#demo-modal",
action: "polaris#openModal",
}) { "Open" } %>
<%= polaris_modal(
id: "demo-modal",
title: "Reach more shoppers with Instagram product tags",
open: true,
) do |modal| %>
<%= polaris_text_container do %>
<p>
Use Instagram posts to share your products with millions of
people. Let shoppers buy from your store without leaving
Instagram.
</p>
<% end %>
<% modal.primary_action { "Add instagram" } %>
<% modal.secondary_action { "Learn more" } %>
<% end %>
No notes provided.
No params configured.