# Stake widget

Squid provides a react component or iframe widget for quickly building a "Stake or deposit from any chain" flow.

This uses Squid's [Broken mention](broken://pages/19kRhbLXejm0jXx6sIDa) feature, where the Squid contract can make arbitrary calls to any contract after a bridge or swap has completed.

* Configure the destination token needed to swap/deposit or stake.
* Configure the contract calls (hooks) to be made on the destination token. (stake, lend, deposit etc)

Installation is easy, and should take 30min-3 hours depending on the complexity of your staking or deposit function calls.


---

# 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.squidrouter.com/old-v2-documentation-deprecated/add-a-widget/stake-widget.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.
