liveBook · Manning

Checkbox

Also called check box

A checkbox is an interactive control that can be selected or cleared to represent a binary choice or state.

How 4 Manning books explain it

Build Python Web Apps with Streamlit

st.checkbox is a Streamlit input API element that renders a Boolean checkbox with a label.

How it is used
Uses checkboxes to conditionally reveal controls and represent task completion in Streamlit apps.
How deep it goes
Explains labels, Boolean values, repeated widgets, task wiring, and rerun pitfalls through incremental examples.
Examples
Uses an optional rounding control and a to-do list with task checkboxes and strikethrough labels.
What you can do after
Apply it via Streamlit to render Boolean controls, branch on their values, and recognize rerun-related task display problems.

Read how Build Python Web Apps with Streamlit explains checkbox →

React Quickly, Second Edition

A checkbox is a form control that represents an independently selectable true-or-false option.

How it is used
Represents Boolean form choices such as task urgency and individual step completion.
How deep it goes
Shows a controlled check box with state initialization, `checked`, and an `onChange` handler; leaves the multi-step implementation as homework.
Examples
Uses an urgent-task form and an exercise that adds completion check boxes to task steps.
What you can do after
Build it from scratch as a controlled React check box, then apply the pattern to completable task steps.

Read how React Quickly, Second Edition explains checkbox →

Tiny CSS Projects

A checkbox is a form control that can be independently selected or cleared to represent a binary or multiple-choice setting.

How it is used
Uses a newsletter check box to demonstrate styling a choice within a contact form.
How deep it goes
Works through accent coloring and custom unselected visuals, but does not show a custom selected-state design.
Examples
Shows a newsletter choice and CSS listings for accent-colored, reset, and styled controls.
What you can do after
Operate/configure it with CSS to recolor a native check box or size and shape its unselected appearance.

Read how Tiny CSS Projects explains checkbox →

Build a Website with ChatGPT

A checkbox is a form control representing an independently selectable yes-or-no or on-or-off value.

How it is used
Collects one independent yes-or-no, accept-or-reject, or on-or-off response in an interactive form.
How deep it goes
Explains visible checked and unchecked states and initial-state customization, but does not detail generated code internals.
Examples
Uses notification, newsletter-subscription, and event-sign-up choices as concrete checkbox examples.
What you can do after
Build it from scratch by specifying a checkbox label, response meaning, and initial checked state in a generated form.

Read how Build a Website with ChatGPT explains checkbox →

Also covered in

What to know first

Related concepts

Questions about checkbox

What is checkbox?

A checkbox is an interactive control that can be selected or cleared to represent a binary choice or state.

Which Manning books explain checkbox?

Build Python Web Apps with Streamlit, React Quickly, Second Edition, Tiny CSS Projects and Build a Website with ChatGPT.

What should I know before learning checkbox?

Manning books that teach checkbox usually introduce button, state, HTML and HTML element first.

What is checkbox a kind of?

Checkbox is a kind of conditional element. A conditional element is a user-interface component whose behavior or resulting interaction depends on a user selection or action.

What is checkbox part of?

Checkbox is part of web form. A web form is a web-page interface that groups controls for collecting user input and submitting it for processing.

What is checkbox also called?

Checkbox is also called check box.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.