x
<div class="Polaris-Card">
<div class="Polaris-Card__Section">
<div class="Polaris-EmptyState Polaris-EmptyState--fullWidth">
<div class="Polaris-EmptyState__Section">
<div class="Polaris-EmptyState__DetailsContainer">
<div class="Polaris-EmptyState__Details">
<div class="Polaris-TextContainer">
<p class="Polaris-DisplayText Polaris-DisplayText--sizeSmall">
Upload a file to get started
</p>
<div class="Polaris-EmptyState__Content">
<p>
You can use the Files section to upload images, videos, and other
documents. This example shows the content with a centered layout and full
width.
</p>
</div>
</div>
<div class="Polaris-EmptyState__Actions">
<div class="Polaris-Stack Polaris-Stack--alignmentCenter Polaris-Stack--distributionCenter Polaris-Stack--spacingTight">
<div class="Polaris-Stack__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Upload files
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-EmptyState__ImageContainer">
<img src="https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png" role="presentation" alt="" class="Polaris-EmptyState__Image">
</div>
</div>
</div>
</div>
</div>
<%= polaris_card do %>
<%= polaris_empty_state(
full_width: true,
heading: "Upload a file to get started",
image: "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png",
) do |state| %>
<% state.primary_action { "Upload files" } %>
<p>
You can use the Files section to upload images, videos, and other
documents. This example shows the content with a centered layout and full
width.
</p>
<% end %>
<% end %>
No notes provided.
No params configured.