%= render_component_header title: "Textarea",
description: "Displays a form textarea or a component that looks like a textarea." %>
<% content_for :preview, flush: true do %>
<%= render_code_preview('textarea') %>
<% end %>
<% content_for :code, flush: true do %>
<%= code_partial("textarea/preview", :erb) %>
<% end %>
<%= render_preview %>
Installation
<%= code_sample(language: "sh") do %>
rails generate shadcn-ui textarea
<% end %>
Usage
<%= code_partial("textarea/usage", :erb) %>
<%= render_usage("textarea") %>