Overview
useAccounts returns the list of all stored accounts and the currently active account. Use it to render an account switcher or display the signed-in user’s identity.
Usage Example
Returns
Array of all stored accounts, derived from the accounts map in Redux state.
The account currently marked as active, or
null if no session is active.Total number of stored accounts.
AccountSummary Type
| Property | Type | Description |
|---|---|---|
id | string | User ID |
name | string | null | Display name |
email | string | null | Email address |
avatar | string | null | Avatar URL |

