Back to components
ComponentInsightsFree

Branching Logic Explorer React component

A rule map you can walk: pick any step to light the path to it, see what share of cases goes each way, and read the outcome. On phones it asks one question at a time.

About the Branching Logic Explorer component

Branching Logic Explorer turns a set of rules into something people can follow. Each question leads to its answers, and every step shows the share of cases that reaches it.

Pick any step and the path to it lights up in order, so it's easy to explain why a case ended where it did. On a phone the same rules become one question at a time.

When to use it

Use it to explain routing rules, eligibility checks, support playbooks and automation logic.

Keep it to rules with a handful of outcomes. A very large tree needs search and collapsing, not one map.

Installation

Add the Branching Logic Explorer component to your project with the shadcn CLI. It lands in components/branching-logic-explorer.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/branching-logic-explorer

Related components

Incident Cause Tracer
Free
A/B Test Result Card
Free
Language Suggestion Banner
Free
New Feature Spotlight Bar
Free
Sign-off Request Card
Free
Floating Promo Pill
Free