shadcn_ui-checkbox

Integrate ShadCheckbox and ShadCheckboxFormField into Flutter forms.

8|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/serverpod/skills-registry --skill shadcn-ui-checkbox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn_ui-checkbox
Source: https://github.com/serverpod/skills-registry/tree/main/skills/shadcn_ui/shadcn_ui-checkbox
Command: npx skills add https://github.com/serverpod/skills-registry --skill shadcn-ui-checkbox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the integration of interactive checkboxes into Flutter applications using the shadcn_ui component library, enabling users to make selections or agree to terms.

Core Features & Use Cases

  • ShadCheckbox: A standalone checkbox with optional labels and sublabels for simple toggling.
  • ShadCheckboxFormField: Integrates checkboxes into a ShadForm with validation, ideal for user input and terms acceptance.
  • Use Case: Implement a "Remember Me" checkbox in a login form or a "Agree to Terms" checkbox during user registration.

Quick Start

Add a ShadCheckboxFormField with the id 'terms' and a validator to your ShadForm.

Frequently Asked Questions about shadcn_ui-checkbox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a checkbox to a Flutter form using shadcn_ui?

To add a checkbox to a Flutter form using shadcn_ui, integrate the ShadCheckboxFormField component within a ShadForm to handle boolean selections and execute user input validation.

Can I use a shadcn_ui checkbox for standalone toggles outside a form?

Yes, you can use a shadcn_ui checkbox for standalone toggles outside a form by implementing the ShadCheckbox component, which supports optional labels and sublabels for simple boolean selections.

Does shadcn_ui support checkbox validation for terms acceptance during user registration?

shadcn_ui supports checkbox validation for terms acceptance during user registration by using ShadCheckboxFormField inside a ShadForm, allowing you to assign an id and a validator to enforce agreements.

What is the best way to implement a Remember Me checkbox in a Flutter login form?

The best way to implement a Remember Me checkbox in a Flutter login form is using ShadCheckboxFormField from the shadcn_ui library, which provides form field integration and validation for boolean user inputs.

Do I need ShadForm to use shadcn_ui checkboxes?

You only need ShadForm if you require form validation and user input scenarios, utilizing ShadCheckboxFormField; otherwise, you can use ShadCheckbox independently for standalone toggles without a form wrapper.