> For the complete documentation index, see [llms.txt](https://docs.usegravity.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usegravity.app/gravity-web/hooks/useplans.md).

# usePlans

When you need a list of available Stripe plans, you can use the `usePlans` hook to fetch a list of plans formatted for the UI.

```javascript
const plans = usePlans();
```
