# clanbite_social_kit_reaction_icon()

Markup for one reaction's icon: the same glyph everywhere a reaction appears (picker, summary, tooltip, action button).

A reaction type is rendered from its `icon_url` when it has one, otherwise from its `emoji`, so a reaction added by a
third party or extension plugin looks identical in the selector and once selected. Use this for server-rendered
lists of reaction types (pickers); use `clanbite_social_kit_reaction_icon_bound()` inside Interactivity templates.

```php
clanbite_social_kit_reaction_icon( array $type, string $css_class = '' ): string
```

## Parameters

- `$type` (array<string, mixed>) Reaction definition (`slug`, `label`, `emoji`, optional `icon_url`).
- `$css_class` (string) CSS class for the wrapper element (context sizing hook).

## Return

`string` Escaped HTML.
