# User Location

<figure><img src="/files/gAQVOwuPWiotKhqiPqA1" alt="" width="375"><figcaption></figcaption></figure>

***

## Configuring the User Location

The main property around the User Location component is the button configuration. A button can be configured to trigger the user location request.&#x20;

## Adding Interactions

Interactions define what happens when users interact with the User Location component. A list of interactions is available [here](/flow/component-builder/interactions-panel.md).

Here are the available interactions for the List component:

* On **`Successful Location`**: The event is fired when a user clicks the button to share his location.

## Styling

From the Styles panel, you can customize styling attributes for the Progress Circle:&#x20;

* **`Button`**: customize the button styling settings.

You can find the instructions for styling [here](/flow/component-builder/style-panel.md).

## Specifications

### Attributes

<table><thead><tr><th>Name</th><th width="230.75836972343524">Type</th><th>Description</th></tr></thead><tbody><tr><td>Get Current Position on load</td><td>Boolean</td><td>If true, the component will automatically get the current location when the flow screen is loaded.</td></tr><tr><td>Button Label</td><td>String</td><td>The Label text is diplayed on the button.</td></tr><tr><td>Variant</td><td>String</td><td>Change the visual appearance of the button.</td></tr><tr><td>Icon Name</td><td>String</td><td>Changes the appearance of the progress indicator for the base type only.</td></tr><tr><td>Icon Position</td><td>String</td><td>Set the position of the icon</td></tr><tr><td>Type</td><td>String</td><td>To specify the type of button.</td></tr></tbody></table>


---

# 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.avonnicomponents.com/flow/flow-components/user-location.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.
