Block properties

Boolean

Basic block property that allows you to input true/false values.

Basic properties

Overview

The Boolean property provides a checkbox toggle for true/false values. Use it to let editors enable or disable features in a block without writing code.

  • Renders as a checkbox in the block editor.
  • The default value is false.
  • Supports localization — can be set independently per language group.

Common use cases

Use caseExample
Toggle visibility"Dismissible" — show or hide a close button
Toggle behavior"Hide overlay" — disable the backdrop behind a modal
Feature flag"Hide progress" — remove the tour step indicator

Last updated on

On this page