Expand description
A customizable, animated checkbox UI component for Tessera UI.
This module provides a standard checkbox widget with support for animated checkmark transitions, external or internal state management, and flexible styling options. The checkbox can be used wherever a boolean selection is required, such as forms, settings panels, or interactive lists.
Features include:
- Smooth checkmark animation on toggle
- Optional external state for advanced control and animation
- Customizable size, colors, shape, and hover effects
- Callback for state changes to integrate with application logic
Typical usage involves passing CheckboxArgs
to the checkbox
function, with optional
state sharing for animation or controlled components.
Suitable for both simple and complex UI scenarios requiring a responsive, visually appealing checkbox.
Structs§
- Checkbox
Args - Arguments for the
checkbox
component. - Checkbox
Args Builder - Builder for
CheckboxArgs
. - Checkbox
State - Checkmark
State - State for checkmark animation (similar风格 to
SwitchState
)
Enums§
- Checkbox
Args Builder Error - Error type for CheckboxArgsBuilder
Functions§
- checkbox
- Renders a checkbox component.