Skip to Content
UI Kit
Components (172)

Decision Tree

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Decision Tree…

Usage

import { DecisionTree } from "ui-kit/components/decision-tree";

Props

PropTypeDefaultDescription
decisions*Decision[]——
onChoose(decision: Decision, choice: DecisionChoice) => string | void | Promise<string | void>——
allowOtherbooleantrue—
titlestring"Decisions"—
refRef<DecisionTreeHandle>——
classNamestring——

On this page