Skip to content
Sign in
KnowledgeUnsupported claimMenu

Unsupported claimPro

A dotted underline on a claim no source backs, with a note that says why.

ProOne claim no source backs, flagged with why and the next step.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/unsupported-claim

Usage

tsx
import { UnsupportedClaim } from "@/components/ui/chatcn/pro/unsupported-claim"

<UnsupportedClaim note="No source mentions 2024.">Revenue doubled in 2024</UnsupportedClaim>

It never hides or rewrites the text: it flags it, says why, and can offer the next step, like searching again. It wraps across lines like the text around it.

Examples

States

ProA claim that wraps and a custom title.

Props

PropTypeNotes
childrenReactNodeThe claim
notestringWhy it needs checking
action{ label, onClick }The next step
titlestringDefault "Check this"

Accessibility

  • The claim is focusable and opens on Enter; its name includes the note, so the flag is heard where it is.