Storybook
-
Theme
-
-
-
-
Light tone
-
-
-
-
-
Dark tone
-
-
-
-
-
-
Reset to default
- Introduction
-
Components
- Action list
- Action menu
- Alert
- Avatar
- Blankslate
- Box
- Branch name
- Breadcrumb
- Button
- Button group
- Checkbox
- Checkbox group
- Circle badge
- Counter
- Dialog
- Drawer
- Dropdown
- Ellipsis
- Filter list
- Header
- Input validation message
- Label
- Layout
- Link
- Menu
- Octicon
- Pagination
- Progress
- Radio button
- Radio group
- Radio tabs
- Select
- Select menu
- Side nav
- Spinner
- State label
- Styled HTML
- Subhead
- Subnav
- Tabnav
- Text input
- Textarea
- Theme
- Theme menu
- Theme menu options
- Timeline
- Toggle switch
- Truncate
- Underline nav
Checkbox
Generates a checkbox.
-
Documentation
- checkbox
- checkbox_group
Checkbox
Initially checked
Disabled
Form: derived label
Form: custom label
Emphasised label
Disclosure
Click checkbox to reveal input.
Available hours per week
hours per week
Form: default error message
This uses component
input_validation_message
to conditionally display the default error message.
Form: custom error message
This uses component
input_validation_message
to conditionally display a custom error message.