Sha256: d7d08eae1258a294fdf31b6d5be4384898cbddfdc53461ff3937ced957a77240

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

<!--prettier-ignore-->
<%= render "layouts/documentation/component_header",
  title: "Collapsible",
  description: "An interactive component which expands/collapses a panel." %>

<%= content_for :preview, flush: true do %>
<div class="w-full flex justify-center">
  <%= render_collapsible trigger: "@peduarte starred 3 repositories" do %>
    <% content_for :preview do %>
      <div class="rounded-md border px-4 py-3 font-mono text-sm">@radix-ui/primitives</div>
    <% end %>
    <% content_for :body do %>
      <div class="rounded-md border px-4 py-3 font-mono text-sm">@radix-ui/colors</div>
      <div class="rounded-md border px-4 py-3 font-mono text-sm">@stitches/react</div>
    <% end %>
  <% end %>
</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/collapsible.html.erb
shadcn-ui-0.0.1 app/views/examples/components/collapsible.html.erb