Components (172)
Decision Tree
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Decision Tree…
Usage
import { DecisionTree } from "ui-kit/components/decision-tree";Props
| Prop | Type | Default | Description |
|---|---|---|---|
decisions* | Decision[] | — | — |
onChoose | (decision: Decision, choice: DecisionChoice) => string | void | Promise<string | void> | — | — |
allowOther | boolean | true | — |
title | string | "Decisions" | — |
ref | Ref<DecisionTreeHandle> | — | — |
className | string | — | — |