# Icon

Gravity uses [Feather icons](https://feathericons.com/) to provide a full suite of beautiful vector icons for your app.

## Preview

<div align="left"><figure><img src="/files/gyXHISEIuMG456DTlDLg" alt="" width="20"><figcaption></figcaption></figure></div>

## Code

```javascript
  <Icon
    image='save'
    color='dark'
    size={ 20 }
  />
```

## Props

| Prop  | Description       | Required | Value                                               |
| ----- | ----------------- | -------- | --------------------------------------------------- |
| color | color of the icon | required | dark, light or hex value                            |
| image | the icon image    | required | r[efer to Feather Icons](https://feathericons.com/) |
| size  | size of the icon  | optional | integer *(default: 20)*                             |
| style | custom style      | optional | styles object                                       |


---

# 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.usegravity.app/gravity-native/components/icon.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.
