-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathprogress.html.erb
More file actions
22 lines (16 loc) · 824 Bytes
/
progress.html.erb
File metadata and controls
22 lines (16 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%= render_component_header title: "Progress",
description: "Displays an indicator showing the completion progress of a task, typically displayed as a progress bar." %>
<% content_for :preview, flush: true do %>
<%= render_code_preview('progress') %>
<% end %>
<% content_for :code, flush: true do %>
<%= code_partial("progress/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 progress
<% 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("progress/usage", :erb) %>
<%= render_usage("progress") %>