Sha256: 09c106f17ed3421b48f6dd3ade3f0d2d16447c2e8362b01554e4fa55ae53e7bb

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

<!--prettier-ignore-->
<%= render "layouts/documentation/component_header",
  title: "Alert",
  description: "Displays a callout for user attention" %>

<% content_for :preview, flush: true do %>
<div class="w-full">
  <%= render_alert title: "Did you know?", description: "You can wrap shadcn helpers in any
  component library you want!" %>
</div>

<div class="w-full">
  <%= render_alert(variant: :error, title: "Did you know?", description: "You can wrap shadcn
  helpers in any component library you want!") %>
</div>
<% end %>

<%= render_preview %>

<h2 class="font-heading scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight first:mt-0" id="installation">Installation</h2>

<h2 class="font-heading mt-12 scroll-m-20 border-b pb-2 mb-2 text-2xl font-semibold tracking-tight first:mt-0" id="usage"><a href="/docs/components/dialog#usage">Usage</a></h2>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shadcn-ui-0.0.2 app/views/examples/components/alert.html.erb
shadcn-ui-0.0.1 app/views/examples/components/alert.html.erb