Module checkmark

Source
Expand description

Provides a GPU-accelerated, animated checkmark component for UI elements.

This module defines the checkmark function and related types for rendering a customizable, animated checkmark, typically used to visually indicate a “checked” state in controls such as checkboxes. The checkmark supports smooth animation, color and stroke customization, and is rendered using Tessera’s GPU pipeline for high performance and visual fidelity.

§Typical Usage

The checkmark is most commonly used within checkbox components, but can be integrated into any UI element requiring a checkmark indicator. It is suitable for applications needing responsive, theme-adaptable, and animated visual feedback for selection or confirmation states.

§Features

  • Customizable color, stroke width, size, and padding
  • Smooth animation progress control
  • High-performance GPU rendering

See CheckmarkArgs for configuration options and usage examples in the checkmark function documentation.

Structs§

CheckmarkArgs
Arguments for the checkmark component.
CheckmarkArgsBuilder
Builder for CheckmarkArgs.

Enums§

CheckmarkArgsBuilderError
Error type for CheckmarkArgsBuilder

Functions§

checkmark
Renders a checkmark, a visual indicator that is displayed when in a checked state.