ToggleCount Action Chip

v1.0.0

A toggle switch that shows a count badge.

Interactive Implementation

Toggle the switch to see the count change.

Properties API

All available props for this component.

Property
Type
Default
Description
pressedbooleanrequiredBinds the active toggle state layout layer to a boolean validation wrapper.
onPressedChange(pressed: boolean) => voidrequiredState handler updating selection hooks on client tapping interactions.
countnumberrequiredThe explicit metric indicator tracking quantity data to render inside the trailing badge node.
showZerobooleanfalseToggles whether to preserve badge rendering fields when count states fall straight to absolute zero.
variant"default" | "outline""default"Controls structural tokens adjustments modifying border parameters and layout transparencies.
© 2026 Venti UI Labs. UI made right.