NeoTerm UI

Checkbox

Terminal-styled checkbox control.

Import

import { Checkbox } from "neoterm-ui";

Usage

<Checkbox checked={agreed} onChange={setAgreed} label="I agree to the terms" />

Props

PropTypeDefaultDescription
checkedbooleanChecked state.
onChange(checked: boolean) => voidChange callback.
labelstringLabel text.
disabledbooleanDisable the checkbox.