# Icons

### Iconsax

All Svg are taken from iconsax library

​<https://iconsax.io/>

```javascript
import SvgSprite from '@/components/shared/SvgSprite.vue';

// usage
<SvgSprite name="custom-home" style="width: 20px; height: 20px" />
```

{% hint style="info" %}
If you want to add new svg then add svg file using symbol tag with unique id in sprite.svg
{% endhint %}

### Material Design icons

Material icons svg using vuetify setup.

<https://vuetifyjs.com/en/features/icon-fonts/#mdi-js-svg>

Make one different file for imports usable icons and use it.

MDI icon file: `src/plugins/mdi-icon.ts`

```typescript
// if you want to use mdi new icon then add like this
import { mdiHome } from '@mdi/js';

export const icons = {
  home: mdiHome,
};
```

```javascript
// Usage
<v-icon icon="$home"></v-icon> // Do not forgot to add $ syntax before icon name
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://phoenixcoded.gitbook.io/able-pro/vue/theme-ui/icons.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
