Checkbox Group

A collection of related checkboxes with group-level control.

Installation

Install the component package, shared coss-svelte theme, and Bits UI peer.

npm install coss-svelte @coss-svelte/theme bits-ui

Usage

Import the Svelte component exports directly from the package.

import { CheckboxGroup } from "coss-svelte";

Anatomy

Checkbox Group exposes a single component export for the current implementation.

API Reference

CheckboxGroup

A collection of related checkboxes with group-level control.

PropTypeDefaultDescription
labelstring""Accessible label or fallback visible label for the control.
children : Snippet<[]>bind:ref : HTMLElement | null

Inherits from Bits UI Checkbox.Group.

Implementation Details

Status
Stable
Foundation
custom
Category
Toggle & Choice
Particles
5