# Icons

For the scalability the icons are named in this way:

```
name=search, size=small, outlined=yes
```

### How To Use

While using SwiftUI you access the icons by the name convention on the example below:

```swift
Icon(name: "link", outlined: false, color: Color("darkGreyDL"))
```

Insert this line and change the characteristics of the icon easily. It will be 26x26 if you like to change the size you will need to add width and height to the line, like the code below:

```swift
Icon(name: "link", outlined: false, color: Color("darkGreyDL"), width: 30, height: 30)
```

The underlying Image view for the icon element that we are using is shown below:

```swift
Image("name=link, size=small, outlined=no")
                                .resizable()
                                .renderingMode(.template)
                                .frame(width: 26, height: 26)
                                .foregroundColor(Color("darkGreyDL"))
```

We do not recommend this solution unless its needed. \
\
Icons can be changed easily by changing the name directly from the code and you can make it outlined or change the icon details by changing the size directly from the Image() view.

Always use .resizable() and .renderingMode(.template) to allow changing the size and color of the icons.

<figure><img src="/files/f9JlEWKuGbGyaN5f5yrh" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Icon library is constantly changing and updating please check the figma file to keep updated.
{% endhint %}


---

# 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://docs.agora.foundation/tokens/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.
