Toggle

An on/off switch for boolean (true/false) values.

The Toggle field provides a visual switch that users can click to turn a feature on or off. It’s the most intuitive way to handle boolean values because the switch clearly shows the current state (on or off). When enabled, the value is true; when disabled, it’s false. This makes it perfect for enabling or disabling features, showing or hiding content, or any yes/no decision.

Preview in Attributes Manager

Fancoolo fields toggle

Toggle field. Preview in Gutenberg Editor

Fancoolo fields in gutenberg toggle

Technical Information:

PropertyValue
Gutenberg UIOn/off switch
Data Typeboolean
Valuestrue or false
Default Valuefalse
Best ForEnable/disable features
Common UsesShow/hide sections, enable features, display options