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
{{ message }}
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: src/govie/components/checkboxes/Checkboxes.stories.js
+36-1
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@ export default {
28
28
"When 'none' would be a valid answer, give users the option to check a box to say none of the other options apply to them — without this option, users would have to leave all of the boxes unchecked. Giving users this option also makes sure they do not skip the question by accident.",
29
29
},
30
30
noneOptionLabel: {control: 'text'},
31
+
useMediumBoxes: {
32
+
control: 'boolean',
33
+
description:
34
+
'Medium-sized checkboxes offer a balanced visual presence, making them ideal for forms and settings where clarity and ease of interaction are important. They are larger than small checkboxes, providing a more noticeable target area for users to click, but not as large as standard checkboxes, which makes them perfect for situations where moderate prominence is needed.\n'+
35
+
'For example, in a settings menu or preference panel, medium checkboxes can help users easily identify and select options without overwhelming the interface. They strike the right balance between visibility and subtlety, ensuring a user-friendly experience without dominating the layout.',
0 commit comments