Skip to content
API reference

components/icon-checkbox

Import
import * as api from "@fungi.computer/caps/components/icon-checkbox";
Kind Export Description
type alias IconCheckboxProps Props accepted by IconCheckbox. The full label names the native input.
constant IconCheckbox An independent icon choice composed from the native Caps Checkbox.

IconCheckboxPropstype alias

Section titled “IconCheckboxProps”
Signature
type IconCheckboxProps = object & Omit<CheckboxProps, "children" | "indicator">;

Props accepted by IconCheckbox. The full label names the native input.

Name Type Description
label string -
icon ReactNode -
caption? string A short visible legend; it does not replace the accessible label.
appearance? "default" | "compact" Compact instruments show the icon and caption without a tile or lamp.

IconCheckboxconstant

Section titled “IconCheckbox”
Signature
const IconCheckbox: ForwardRefExoticComponent<
object &
Omit<CheckboxProps, "children" | "indicator"> &
RefAttributes<HTMLInputElement>
>;

An independent icon choice composed from the native Caps Checkbox.