{ /* This Source Code Form is subject to the terms of the Mozilla Public
  License, v. 2.0. If a copy of the MPL was not distributed with this
  file, You can obtain one at http://mozilla.org/MPL/2.0/.

  Copyright (c) KALEIDOS INC Sucursal en España SL */ }
  
import { Canvas, Meta } from "@storybook/addon-docs/blocks";
import * as RawSvgStories from "./raw_svg.stories";

<Meta of={RawSvgStories} />

# SVG Assets

## Technical notes

There are some SVG assets that are not icons or cursors, and that are mostly
meant to be used as is (although depending on the context, some will be required
to be used with a specific color or size).

The assets are located in the `frontend/resources/images/assets` folder.

### Using asset IDs

For convenience, asset IDs are available in the component namespace.

```clj
(ns app.main.ui.foo
  (:require
   [app.main.ui.ds.foundations.assets.raw-svg :as svg]))
```

```clj
[:> svg/raw-svg* {:asset svg/logo}]
```
