moonstone/FormCheckbox

Moonstone styled checkmark icon inside a circle, primarily used inside the FormCheckboxItem. This also has built-in Spotlight support since FormCheckboxItem is a specialized Item that does not visually respond to focus; this child component shows focus instead.

import FormCheckbox from '@enact/moonstone/FormCheckbox';

Members

FormCheckboxComponent

A component that represents a Boolean state, and looks like a check mark in a circle.

import FormCheckbox from '@enact/moonstone/FormCheckbox';
Properties
children
String

The icon to be shown when selected.

May be specified as either:

  • A string that represents an icon from the iconList,

  • An HTML entity string, Unicode reference or hex value (in the form '0x...'),

  • A URL specifying path to an icon image, or

  • An object representing a resolution independent resource (See ui/resolution).

ArrayBooleanFunctionModuleNumberObjectString