%= render_component_header title: "Slider",
description: "An input where the user selects a value from within a given range." %>
<% content_for :preview, flush: true do %>
<%= render_code_preview('slider') %>
<% end %>
<% content_for :code, flush: true do %>
<%= code_partial("slider/preview", :erb) %>
<% end %>
<%= render_preview %>
Installation
<%= code_sample(language: "sh") do %>
rails generate shadcn-ui slider
<% end %>
Usage
<%= code_partial("slider/usage", :erb) %>
<%= render_usage("slider") %>