Unsupported claimPro
A dotted underline on a claim no source backs, with a note that says why.
On this page
ProOne claim no source backs, flagged with why and the next step.
Installation
Usage
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
| Prop | Type | Notes |
|---|---|---|
children | ReactNode | The claim |
note | string | Why it needs checking |
action | { label, onClick } | The next step |
title | string | Default "Check this" |
Accessibility
- The claim is focusable and opens on Enter; its name includes the note, so the flag is heard where it is.