What problem does it solve?
The n-checkbox component simplifies capturing binary selections and multi-option choices in forms, providing indeterminate states and flexible value mappings for real-world data.
Core Features & Use Cases
- Single and grouped selections: Use a standalone checkbox for boolean flags or combine with n-checkbox-group for multiple options.
- Indeterminate states and grid layouts: Supports indeterminate state for "select all" behavior and can be laid out in grids for compact forms.
- Custom values and events: Supports checked-value / unchecked-value mappings, and emits update:checked or update:value events to synchronize with your data models.
- Real-world scenarios: Form checklists, surveys with multiple selections, and grid-based option matrices.
Quick Start
Add an n-checkbox for a single boolean choice, or use n-checkbox-group to manage multiple options with optional indeterminate states and grid layouts.