Forms

Checkbox

A native <input type="checkbox"> with the pui-checkbox class.

Checked

Colors

A color class paints the checked state, the same classes used everywhere else:

Without a color class it uses the theme color.

Indeterminate

The third state — neither checked nor unchecked — is normally a JavaScript property, which makes it impossible to express in markup. Perfect UI accepts it as an attribute:

The property keeps working as usual:

input.indeterminate = true;

Disabled

With a label and a message