Sha256: 7f36df650665eda1b5dba0553d44c04fe179292c2c3a704dc57263affe5e7891

Contents?: true

Size: 877 Bytes

Versions: 2

Compression:

Stored size: 877 Bytes

Contents

<%= render "layouts/documentation/component_header",
  title: "Accordion",
  description: "A vertically stacked set of interactive headings that each reveal a section of content." %>

<% content_for :preview, flush: true do %>
<div class="w-full">
  <%= render_accordion title: "Did you know?", description: "You can wrap shadcn helpers in any
  component library you want!" %>
  <%= render_accordion title: "Use the generators.", description: "Add components with #{code("rails g shadcn_ui add accordion")}".html_safe %>
</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/accordion.html.erb
shadcn-ui-0.0.1 app/views/examples/components/accordion.html.erb