Skip to content

io.input.boolean

Represents a checkbox component.

Usage

ts
const value = await io.input.boolean(
  "Do you enjoy using Forge?",
  defaultValue = true,
)
python
value = await io.input.boolean("Do you enjoy using Forge?", default_value=True),

example of Forge app with boolean component