### Pick an icon from the free Sauna & Banya icon set (36 SVG line icons) in a DatoCMS string or JSON field, with search by name and tag.

(Image content)

[

**This is a Community Plugin!** Learn how create your own plugin, or copy and remix existing ones in our documentation

](https://www.datocms.com/docs/plugin-sdk/introduction.md)

## Sauna Icon Picker for DatoCMS

A field editor plugin that lets editors pick an icon from the Sauna & Banya Icon Set: 36 line icons for sauna, banya, steam room and cold plunge content (sauna hat, stove with stones, birch whisk, bucket and ladle, thermometer, löyly, cold plunge, robe, towel and more).

(Image content)

## What it does

-   Shows all 36 icons in a grid, with the current choice on top and a **Clear** button.
-   Search by name or tag, for example `stove`, `kiuas`, `steam` or `cold`.
-   Works on two field types:
    -   **Single-line string**: saves the icon name, such as `sauna-hat`.
    -   **JSON**: saves `{ "name", "title", "svg", "set" }`, so your front end can render the inline SVG without installing anything else.
-   Keyboard friendly: every icon is a button with a label, and the selected one is marked.
-   No permissions, no network requests, no tracking. The icons are bundled with the plugin.

## Install

1.  In your DatoCMS project, go to **Configuration \> Plugins \> Add new plugin** and search for **Sauna Icon Picker**.
2.  Open a model, edit a Single-line string or JSON field, go to the **Presentation** tab and choose **Sauna icon picker** as the field editor.

## Using the saved value

String field: render the icon from the `sauna-icons` npm package, for example `sauna-icons/svg/sauna-hat.svg`, or from your own copy of the SVG files.

JSON field: the `svg` property is the full `&lt;svg&gt;` element. It uses `stroke="currentColor"`, so it takes the text color of its parent.

## Build from source

```bash
npm installnpm run build   # icons from the sauna-icons package -&gt; src/icons.generated.ts, then tsc and Vitenpm test        # unit and component tests (Vitest), then the DatoCMS Marketplace package rules
```

The project started from the official DatoCMS plugin template and uses `datocms-plugin-sdk` and `datocms-react-ui`. `preview/` renders the real picker outside DatoCMS to take the screenshot. The code was written with the help of an AI coding assistant and checked with the tests above.

## License

-   Plugin code: MIT.
-   Icons: Sauna & Banya Icon Set by DIVELUX, CC BY 4.0. See LICENSE.

Made by DIVELUX, a small family brand from Irvine, California that makes handmade wool sauna hats. More free sauna tools: [diveluxsaunahat.com/pages/sauna-tools](https://diveluxsaunahat.com/pages/sauna-tools)