Gravity
Search…
Gravity
Welcome to Gravity
Getting Started
Stack
Updates
Changelog
Gravity Server
Introduction
Installation
Application Structure
REST API
Authentication
Config
Environment Variables
Database Queries
Handling Errors
Logging
Push Notifications
Email Notifications
User Feedback
Permissions (Roles)
File Uploads
Payments
Free Accounts
CLI Toolbelt
Testing
Gravity Web
Introduction
Tailwind & SCSS
Routing
Events
Authentication
Hooks
useAPI
usePlans
usePermissions
Views
Handling Errors
Deployment
Components
Gravity Native
Introduction
Prerequisites
Installation
App Context
Authentication
Magic Links
Handling Errors
Navigation
Config
Events
Views
Components
Push Notifications
Payments
Building Your App
Mission Control
Introduction
Installation
User Management
Feedback
Events
Logs
Powered By
GitBook
usePlans
When you need to display a list of available Stripe plans, you can use the usePlans hook to fetch a list of plans perfectly formatted for the UI.
1
const
plans
=
usePlans
();
Copied!
Previous
useAPI
Next
usePermissions
Last modified
1yr ago
Copy link