Definition

What is Boolean Property?

A component property that toggles between true/false states, often used to show/hide elements or enable/disable features within a component.

Why It Matters

Boolean properties add flexibility to components without increasing variant complexity. Instead of creating separate "Button with Icon" and "Button without Icon" variants, you use a single "hasIcon" boolean property. In the properties panel, booleans appear as toggles, making them intuitive for designers to use.

Examples

1

A "hasIcon" boolean that shows or hides the icon slot in a button component.

2

An "isRequired" boolean that toggles the asterisk visibility on form labels.

3

A "showDivider" boolean controlling separator visibility in list items.

Explore More Design Terms

Browse our complete glossary of Figma and design systems terminology.