x
1
<div><input type="email" class="flex h-9 w-full rounded-md border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50 border-border focus-visible:ring-ring placeholder:text-muted-foreground max-w-sm" disabled placeholder="Email"></div>
1
2
3
render(TestView.new) do
Input(disabled: true, type: "email", placeholder: "Email", class: "max-w-sm")
end