A container that groups several source citations under one header — summarising how many references back an answer and whether they have been verified — across Brand, Neutral, and Outline styles.
Loading demo: source-group-real-world
source-group-real-world
npx sdaia-ui@latest add source-group
import { SourceGroup } from "sdaia-ui"
1<SourceGroup2 variant="brand"3 title="Grounding Context Logs (3 Citations)"4 verification="Strict Verification"5 items={[6 { name: 'Sovereignty_Act.pdf', type: 'File Segment' },7 { name: 'gdpr-text-archive', type: 'Database' },8 { name: 'lex-juris-index', type: 'API Registry' },9 ]}10/>
<SourceGroup
variant="brand"
title="Grounding Context Logs (3 Citations)"
verification="Strict Verification"
items={[
{ name: 'Sovereignty_Act.pdf', type: 'File Segment' },
{ name: 'gdpr-text-archive', type: 'Database' },
{ name: 'lex-juris-index', type: 'API Registry' },
]}
/>
Prop
Type
Default
Required
variant
'brand' | 'neutral' | 'outline'
'brand'
title
ReactNode
—
items
SourceGroupItem[]
icon
string
databaseStroke
showIcon
boolean
true
verification
'Strict Verification'
showVerification
autoNumber
dir
'ltr' | 'rtl'
'ltr'
A raised surface with a default border — the default style.
Loading demo: source-group-brand
source-group-brand
A subtle surface with a subtle border.
Loading demo: source-group-neutral
source-group-neutral
A transparent surface with a default border.
Loading demo: source-group-outline
source-group-outline