Checkbox

You might say

These options don't conflict, so people should be able to choose more than one.

Choose one, several, or none of the optionsCheckboxes work for interests, filters, and other choices that are independent of one another. A single checkbox can also confirm one statement. If exactly one option must be selected, use Radio instead.

When to use it

  • Select several interests
    FilterFrontendBackendDesign
  • Apply multiple filters
    MusicMoviesSportsReadingGames
  • Choose rows in a table
    Select all
    Design.sketch
    Requirements.md
  • Confirm one independent statement
    I have read and agree to the Terms of Service

When NOT to use it

  • Use checkboxes for choices that exclude each other
    Option AOption B
    Mutually exclusive options shouldn’t use checkboxes
  • Preselect consent that the user should give knowingly
    Autosave
    Show clear feedback after the change takes effect
  • Make the clickable label too small
    Place order
    A checkbox isn’t a button; clicking it doesn’t submit
  • Leave the effect of selecting a parent item unclear
    BeijingShanghaiGuangzhouShenzhenHangzhouChengduWuhanXi’anNanjing
    A flat list of many options takes up too much space
Anatomy
Receive product update emails
Each checkbox row is independently clickable.
Use an indeterminate mark when only some child items are selected
Explain what selecting the checkbox will do
Variants
Default
Use for multiple independent choices or a single confirmation
Indeterminate
Use an indeterminate state when only some items in a batch are selected
Disabled
When an option is temporarily unavailable
Typical use cases
Filter panel
Status 5 items in total
Website refresh v2In progress
Design specification arrangementCompleted
Review payment flowCompleted
Interest picker
Choose the direction you are interested in
Multiple selections to help you recommend more suitable content
Bulk selection
Terms confirmation
Modification time
2 hours ago
Yesterday
3 days ago
2 items selected
Further reading