Checkbox Field
A single checkbox laid out as a field row with label, description, and hint or error text.
Send a message when the deployment status changes.
You can change this later.
Show codeHide code
Installation
import { CheckboxField } from "@makeplane/propel/components/checkbox-field";Usage
import { CheckboxField } from "@makeplane/propel/components/checkbox-field";
export default function BasicDemo() {
return (
<CheckboxField
name="emailUpdates"
value="enabled"
label="Email updates"
size="lg"
description="Send a message when the deployment status changes."
hint="You can change this later."
defaultChecked
/>
);
}Examples
Sizes
size scales the label, description, and helper text; the checkbox box keeps one size.
Notify me when a work item is assigned to me.
You can change this later.
Notify me when a work item is assigned to me.
You can change this later.
Notify me when a work item is assigned to me.
You can change this later.
Show codeHide code
Invalid
Setting error marks the field invalid, recoloring the box border to danger and showing the error text in place of the hint.
You must accept the terms to continue.
Show codeHide code
Controlled
Move items to the archive one week after they are marked done.
Archiving is off.
Show codeHide code
API Reference
CheckboxField
Ready-to-use single checkbox field with label, description, and helper/error text.