Ctrl + k


CheckboxGroup component is a wrapper for Checkbox component, it can be used to group multiple checkboxes in one component.

value: ["Peach"]

You can use default slot to pass a custom label for CheckboxGroup.

value: ["html"]

Using key prop you can to choose which field of object should bind to value.

value: ["html"]

You can use color property to define background color for all Checkboxes inside the CheckboxGroup

value: ["Peach"]

Group checkboxes on the same horizontal row by setting inline boolean property.

value: ["Apple"]

Put checkboxes on the opposite side with the reverse boolean property.

value: CSS,JavaScript

You can use items property to pass an array of items to CheckboxGroup component.


© 2024 YeSvelte. All Rights Reserved