BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/retab-ui/classify-consensus-viewer-block

Classify Consensus

retab-ui/classify-consensus-viewer-block
FreeBlock

A classification result with consensus visible in the sidebar: selected category, likelihood, and every vote beside the source document.

Install it

npx shadcn@latest add https://ui.retab.com/r/classify-consensus-viewer-block.json

Source

registry/new-york-v4/blocks/classify-consensus-viewer-block.tsxui.retab.com/r/classify-consensus-viewer-block.json
1"use client";
2
3import { ClassifyConsensusBlock } from "@/components/viewers/classify/classify-consensus-block";
4import type { ViewerSource } from "@/components/ui/file-viewer";
5import type { ClassifyResult } from "@/components/viewers/lib/classify-types";
6
7const LOAN_APPLICATION_SOURCE: ViewerSource = {
8 kind: "url",
9 url: "/samples/loan-application.pdf",
10 fileName: "loan-application.pdf",
11};
12
13const CLASSIFY_RESULT: ClassifyResult = {
14 category: "Loan Application",
15 candidates: [
16 {
17 category: "Loan Application",
18 description: "Uniform Residential Loan Application Form 1003.",
19 },
20 {
21 category: "Tax Form",
22 description: "Structured form, but no IRS tax identifiers.",
23 },
24 {
25 category: "Bank Statement",
26 description: "Financial fields are present, but no transactions.",
27 },
28 ],
29 reasoning:
30 "The document is a Uniform Residential Loan Application (Form 1003): it collects borrower, employment, and property details for a mortgage request.",
31 consensus: {
32 likelihoods: 0.67,
33 choices: [
34 {
35 category: "Loan Application",
36 reasoning:
37 "The document is a Form 1003 loan application with borrower, employment, and property sections.",
38 },
39 {
40 category: "Loan Application",
41 reasoning:
42 "The mortgage application fields and declarations match a loan application packet.",
43 },
44 {
45 category: "Tax Form",
46 reasoning:
47 "The form is structured and financial, but it does not contain transaction rows or statement periods.",
48 },
49 ],
50 },
51};
52
53export function ClassifyConsensusViewerBlock() {
54 return (
55 <ClassifyConsensusBlock
56 source={LOAN_APPLICATION_SOURCE}
57 result={CLASSIFY_RESULT}
58 sidebarWidth="18rem"
59 sidebarLabel="Classification consensus"
60 minHeightClassName="min-h-[680px]"
61 />
62 );
63}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • @retab/file-viewer
  • @retab/pdf-viewer

Files it writes

  • registry/new-york-v4/blocks/classify-consensus-viewer-block.tsx
  • components/viewers/classify/classify-consensus-block.tsx
  • components/viewers/classify/classifier-viewer.tsx
  • components/viewers/lib/classify-types.ts

Facts

Registry
retab-ui
Type
registry:block
Access
Free
Files written
4
Licence
NOASSERTION
In the index
at or before 2026-08-08
Last confirmed
yesterday

Go to the source

ui.retab.com retab-dev/retab-ui on GitHub Raw registry item This item as JSON

More from retab-ui

All 130 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
CSV Sourcescsv-sources-blockretab-uiBlocksFreeno deps · 2 files
DOCX Sourcesdocx-sources-blockretab-uiBlocksFreeno deps · 2 files
Avatar Image Slotdropzone-avatar-image-slotretab-uiBlocksFree1 dep · 2 files
Dropzonedropzone-blockretab-uiBlocksFree1 dep · 26 files
Comparison Pairdropzone-comparison-pair-uploadretab-uiBlocksFree1 dep · 2 files
Controlled Queuedropzone-controlled-queueretab-uiBlocksFree1 dep · 2 files
Custom Thumbnail Griddropzone-custom-thumbnail-gridretab-uiBlocksFree1 dep · 2 files
Disabled Dropzonedropzone-disabled-dropzoneretab-uiBlocksFree1 dep · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex