%= render "layouts/documentation/component_header",
title: "Dropzone",
description: "A dropzone component that accepts multiple files via drag and drop." %>
<% content_for :preview, flush: true do %>
<%= render_code_preview('dropzone') %>
<% end %>
<% content_for :code, flush: true do %>
<%= code_partial("dropzone/preview", :erb) %>
<% end %>
<%= render_preview %>
Installation
<%= code_sample(language: "sh") do %>
rails generate shadcn-ui dropzone
<% end %>
Usage
<%= code_partial("dropzone/usage", :erb) %>
<%= render_usage("dropzone") %>