Sha256: eb8414b0627228b8f16f015086922c0125a718f65b6e7a4ded416d2c66757162
Contents?: true
Size: 795 Bytes
Versions: 8
Compression:
Stored size: 795 Bytes
Contents
<%= render_component_header title: "Checkbox", description: "A control that allows the user to toggle between checked and not checked." %> <%= content_for :preview, flush: true do %> <%= render_code_preview('checkbox') %> <% end %> <% content_for :code, flush: true do %> <%= code_partial("checkbox/preview", :erb) %> <% 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> <%= code_sample(language: "sh") do %> rails generate shadcn-ui checkbox <% end %> <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">Usage</h2> <%= code_partial("checkbox/usage", :erb) %> <%= render_usage("checkbox") %>
Version data entries
8 entries across 8 versions & 1 rubygems