x
1
2
3
4
5
6
7
8
9
10
11
12
<div class="flex flex-wrap items-center gap-3"> <button type="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1 ring-offset-background disabled:pointer-events-none disabled:bg-muted! disabled:text-muted-foreground! bg-primary text-primary-foreground hover:bg-primary/90 h-9 px-4 py-2 disabled:cursor-not-allowed" aria-busy="false"><i data-lucide="lock" class="inline-block shrink-0 w-4 h-4" aria-hidden="true"></i> Sign in</button> <button type="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1 ring-offset-background disabled:pointer-events-none disabled:bg-muted! disabled:text-muted-foreground! border border-input bg-background hover:bg-accent hover:text-accent-foreground disabled:border-input! h-9 px-4 py-2 disabled:cursor-not-allowed" aria-busy="false"><i data-lucide="eye" class="inline-block shrink-0 w-4 h-4" aria-hidden="true"></i> Preview</button> <button type="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1 ring-offset-background disabled:pointer-events-none disabled:bg-muted! disabled:text-muted-foreground! bg-secondary text-secondary-foreground hover:bg-secondary/80 h-9 px-4 py-2 disabled:cursor-not-allowed" aria-busy="false"><i data-lucide="badge-check" class="inline-block shrink-0 w-4 h-4" aria-hidden="true"></i> Verified</button> <button type="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus:outline-none focus:ring-2 focus:ring-offset-1 ring-offset-background disabled:pointer-events-none disabled:bg-muted! disabled:text-muted-foreground! bg-destructive text-white hover:bg-destructive/90 focus:ring-destructive h-9 px-4 py-2 disabled:cursor-not-allowed" aria-busy="false"><i data-lucide="x" class="inline-block shrink-0 w-4 h-4" aria-hidden="true"></i> Delete</button> <button type="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1 ring-offset-background disabled:pointer-events-none disabled:text-muted-foreground! hover:bg-accent hover:text-accent-foreground disabled:bg-transparent! h-9 px-4 py-2 disabled:cursor-not-allowed" aria-busy="false"><i data-lucide="user" class="inline-block shrink-0 w-4 h-4" aria-hidden="true"></i> Profile</button></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="flex flex-wrap items-center gap-3"> <%= render(UI::Button.new(variant: :default)) do |btn| btn.with_leading_icon(name: "lock") "Sign in" end %> <%= render(UI::Button.new(variant: :outline)) do |btn| btn.with_leading_icon(name: "eye") "Preview" end %> <%= render(UI::Button.new(variant: :secondary)) do |btn| btn.with_leading_icon(name: "badge-check") "Verified" end %> <%= render(UI::Button.new(variant: :destructive)) do |btn| btn.with_leading_icon(name: "x") "Delete" end %> <%= render(UI::Button.new(variant: :ghost)) do |btn| btn.with_leading_icon(name: "user") "Profile" end %></div>No notes provided.
No params configured.