A quiet footer sitting under the conversation, reminding users that AI can make mistakes and to check important details.
Loading demo: ai-disclaimer-real-world
npx sdaia-ui@latest add ai-disclaimer
import { AiDisclaimer } from '@/components/ui/AiDisclaimer';1<AiDisclaimer2type="banner"3variant="neutral"4title="You’re chatting with an AI assistant"5description="Responses may be inaccurate. Please don’t share sensitive personal information."6/>
A quiet, centered line under a reply — the everyday "AI can make mistakes" reminder.
Loading demo: ai-disclaimer-footer
A prominent caution bar with a brand AI avatar, a title and a description — for higher-stakes contexts.
Loading demo: ai-disclaimer-banner
A compact pill naming the assistant and the model / version in play.
Loading demo: ai-disclaimer-model-chip
Prop | Type | Default | Required |
|---|---|---|---|
type | 'footer' | 'banner' | 'model-chip' | 'banner' | optional |
variant | 'neutral' | 'brand' | 'outline' | 'neutral' | optional |
style | 'neutral' | 'brand' | 'outline' | — | optional |
dir | 'ltr' | 'rtl' | — | optional |
icon | string | alert02Stroke / sparklesStroke | optional |
text | ReactNode | 'AI can make mistakes. Verify important information.' | optional |
title | ReactNode | 'You’re chatting with an AI assistant' | optional |
description | ReactNode | 'Responses may be inaccurate. …' | optional |
modelName | ReactNode | — | optional |
modelVersion | ReactNode | — | optional |
labels | Partial<AiDisclaimerLabels> | — | optional |
as | ElementType | 'div' | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | The footer and banner fill the width of their container. The model chip is sized by its content. |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | Same layout with the mobile token values. Footer and banner text wrap; the model name and version in the chip stay on one line. |