Skip to Content
UI Kit
Components (172)

Decision Table

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

Open preview
Loading Decision Table…

Usage

import { DecisionTable } from "ui-kit/components/decision-table";

Props

PropTypeDefaultDescription
name*string—The decision's name – "Refund approval"
inputs*DecisionInput[]——
outputs*DecisionOutput[]——
rules*DecisionRule[]——
hitPolicyHitPolicy"F"Default F
requestDecisionRequest—The request being decided – a new one starts the check
agent{ id: string; name: string; }—The agent that decides – its pixel mark twinkles while it checks
versionstring—Small text beside the name – "v3"
historyDecisionRequest[]—Earlier requests – shown as faces below; a click calls onPick
onPick(requestId: string) => void——
onDecide(ruleIds: string[]) => void—Called once a check is finished, with the ids of the rules that matched
pacenumber420Milliseconds per rule while checking – default 420
rowsnumber8Rules shown before the table scrolls – the one being checked stays in view. Default 8
classNamestring——

On this page