Source note
Local copy
Last synchronized at 08:40.
npx shadcn add @klarhimmel/source-noteCopy for AIDetailsAbout, usage, props and more
A quiet provenance message next to the data: source, freshness and limitations.
When to use
Use for
Source, freshness and coverage beside partial or cached data.
Not for
Urgent errors needing an immediate announcement. Use Banner.
Pairs with
Operational summaries, details and reports.
Preview
Local reception copy
Last synchronized at 08:40. Changes made elsewhere may not appear here yet.
Import
Import
- Files
- source-note.tsx, in components/klarhimmel/ui/. With it: theme, utils. npm: lucide-react.
- Render in
- Render it inside <Theme>, once near the root of your app. Tokens and fonts are scoped to it, so outside it the component is unstyled.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
source | ReactNode | required | Visible source name. |
children | ReactNode | - | Freshness, coverage or other limitations. |
className | string | - |