x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<fieldset class="list"> <legend class="sr-only">Subscription plan</legend> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Plus</h5> <p class="text-subtle">For individuals and small teams.</p> </div> <input type="radio" name="plan" id="plan_plus" value="plus" class="input" checked="checked" /> </label> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Pro</h5> <p class="text-subtle">For growing businesses.</p> </div> <input type="radio" name="plan" id="plan_pro" value="pro" class="input" /> </label> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Enterprise</h5> <p class="text-subtle">For large teams and enterprises.</p> </div> <input type="radio" name="plan" id="plan_enterprise" value="enterprise" class="input" /> </label></fieldset>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<fieldset class="list"> <legend class="sr-only">Subscription plan</legend> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Plus</h5> <p class="text-subtle">For individuals and small teams.</p> </div> <%= radio_button_tag :plan, :plus, true, class: "input" %> </label> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Pro</h5> <p class="text-subtle">For growing businesses.</p> </div> <%= radio_button_tag :plan, :pro, false, class: "input" %> </label> <label class="list-row list-row--check flex items-start gap"> <div class="flex flex-1 flex-col"> <h5 class="leading-none font-medium mbe-1">Enterprise</h5> <p class="text-subtle">For large teams and enterprises.</p> </div> <%= radio_button_tag :plan, :enterprise, false, class: "input" %> </label></fieldset>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
:where(.input) { &:not([type="checkbox"], [type="radio"], [type="range"]) { appearance: none; background-color: var(--input-background, var(--color-surface)); block-size: var(--input-block-size, auto); border: 1px solid var(--input-border-color, var(--color-border)); border-radius: var(--input-radius, var(--rounded-md)); box-shadow: var(--input-box-shadow, var(--shadow-xs)); font-size: var(--input-font-size, var(--text-sm)); inline-size: var(--input-inline-size, var(--size-full)); padding: var(--input-padding, .25rem .625rem); } &:is([type="checkbox"], [type="radio"]) { accent-color: var(--input-accent-color, var(--color-primary)); block-size: var(--input-check-size, var(--size-4)); inline-size: var(--input-check-size, var(--size-4)); } &:is([type="range"]) { accent-color: var(--input-accent-color, var(--color-primary)); } &:is(textarea[rows="auto"]) { field-sizing: content; max-block-size: calc(.875rem + var(--input-max-rows, 10lh)); min-block-size: calc(.875rem + var(--input-rows, 2lh)); } &:is(select):not([multiple], [size]) { background-image: url("chevron-down-zinc-500.svg"); background-position: center right var(--size-2); background-repeat: no-repeat; background-size: var(--size-4) auto; } > option { padding: revert; } &::file-selector-button { font-weight: var(--font-medium); } &:user-invalid { border-color: var(--color-text-negative); } &:user-invalid + [feedback] { display: unset; } &:focus-visible { outline: var(--input-outline-size, 2px) solid var(--color-selected-dark); } &:disabled { cursor: not-allowed; opacity: var(--opacity-50); } .field_with_errors & { border-color: var(--color-text-negative); }}.input--actor { > input { inline-size: 100%; outline: 0; } &:focus-within { outline: var(--input-outline-size, 2px) solid var(--color-selected-dark); }}
Java Script is not required or multiple files are needed, check the notes.
No notes provided.