Sha256: 027d59d95ed816aac731631620b83ed2dab1334bf2b970444fc3853010f265c1

Contents?: true

Size: 434 Bytes

Versions: 2

Compression:

Stored size: 434 Bytes

Contents

<%= render_component_header title: "Input",
      description: "Displays a form input field or a component that looks like an input field." %>

<% content_for :preview, flush: true do %>
  <%= render_label name: "sample_input", label: "Sample Input", class: "block text-left w-full" %>
  <%= render_input name: "sample_input", id: "sample_input" %>
<% end %>

<% content_for :code, flush: true do %>

<% end %>

<%= render_preview %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shadcn-ui-0.0.3 app/views/examples/components/label.html.erb
shadcn-ui-0.0.2 app/views/examples/components/label.html.erb