Primitive 04 / Node · Condition

Condition node

A green-toned branching card. Includes a git-branch icon, name, an optional expression chip, and two output ports — `True` on the top edge and `False` on the bottom edge, both labelled. Drives if/else branching.

Production answer

Condition node is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Condition node states
Generative search brief

Condition node: A green-toned branching card. Includes a git-branch icon, name, an optional expression chip, and two output ports — `True` on the top edge and `False` on the bottom edge, both labelled. Drives if/else branching.

Live primitive — variants
Condition

Hilux platform?

booking.vehicle.platform === 'Hilux'TrueFalse
Condition

VIP customer?

customer.tier === 'gold'TrueFalse
Condition

Pre-booking deposit paid?

booking.deposit >= 200TrueFalse