# Icon circle

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

A round 40 px tile behind a settings or feature icon, in Klarhimmel's blue whatever the theme.

## Preview

icon-circle.tsx

```
import { Sparkles } from 'lucide-react';
import { Theme } from '@/components/klarhimmel/theme/style';
import { IconCircle } from '@/components/klarhimmel/ui/icon-circle';

export default function Example() {
  return (
    <Theme theme="brand">
      <span className="flex items-center gap-3 font-medium"><IconCircle icon={<Sparkles />} />Guest chat</span>
    </Theme>
  );
}
```

## Import

- **CLI**

  ```
  npx shadcn add https://ui.klarhimmel.com/r/icon-circle.json
  ```
- **Import**

  ```
  import { IconCircle } from '@/components/klarhimmel/ui/icon-circle';
  ```

- **Files**: icon-circle.tsx, in components/klarhimmel/ui/. With it: theme, utils.
- **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

- **icon**: Required. A 20 px lucide icon; the row's text names it, so the circle is hidden from assistive tech.
- **tone**: brand is Klarhimmel's blue under any theme; accent is the theme's own.
- **className**: Extra classes, merged after the component's own.

[Previous](/components/status-dot)

[Next](/components/klarhimmel-mark)
