You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/components/Checkbox.svx
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,12 @@ Set `disabled` to `true` to prevent user interaction.
37
37
38
38
<Checkbox labelText="Label text" disabled />
39
39
40
+
## Helper text
41
+
42
+
Use `helperText` to provide additional context or instructions below the checkbox.
43
+
44
+
<Checkbox labelText="Subscribe to newsletter" helperText="You can unsubscribe at any time" />
45
+
40
46
## Read-only state
41
47
42
48
Set `readonly` to `true` to make the checkbox non-interactive while keeping the label text readable. Unlike `disabled`, the readonly state is intended for displaying checkbox values that can only be changed programmatically.
0 commit comments