# Source note

- **[Atoms](/components/)**

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

source-note.tsx

```
import { Theme } from '@/components/klarhimmel/theme/style';
import { SourceNote } from '@/components/klarhimmel/ui/source-note';

export default function Example() {
  return (
    <Theme theme="brand">
      <SourceNote source="Local copy">Last synchronized at 08:40. Changes elsewhere may be missing.</SourceNote>
    </Theme>
  );
}
```

## Import

- **CLI**

  ```
  npx shadcn add @klarhimmel/source-note
  ```
- **Import**

  ```
  import { SourceNote } from '@/components/klarhimmel/ui/source-note';
  ```

- **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

- **source**: Visible source name.
- **children**: Freshness, coverage or other limitations.
- **className**

[Previous](/components/score-ring)

[Next](/components/button)
