---
title: "Discussion on \"How to build an indeterminate checkbox in React\" | Hashnode"
description: "Discussion on \"How to build an indeterminate checkbox in React\". Fun fact: Did you know that HTML checkboxes have three built-in states, not just two? In addition to the checked state, there is also an indeterminate state. You can’t set a checkbox to indeterminate with HTML, only with JavaScript. Here’s what they ..."
url: "https://hashnode.com/posts/how-to-build-an-indeterminate-checkbox-in-react/62cf544c85db46d9da36ff8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to build an indeterminate checkbox in React](https://peanutbutterjavascript.hashnode.dev/how-to-build-an-indeterminate-checkbox-in-react?utm_source=hashnode&utm_medium=feed)

Fun fact: Did you know that HTML checkboxes have three built-in states, not just two? In addition to the checked state, there is also an indeterminate state. You can’t set a checkbox to indeterminate with HTML, only with JavaScript. Here’s what they ...

Jul 13, 2022 · 3 min read · peanutbutterjavascript.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#forms](https://hashnode.com/tag/forms)

## Written by

[Glenn Stovall](https://hashnode.com/@gsto)

@gsto

  
[View profile](https://hashnode.com/@gsto)

Value-based development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
