# Hooks

URL: https://docs.blux.cc/react/hooks

React hooks for querying Stellar network data and managing wallet state.

Blux provides hooks for **white-label authentication**, **managing wallet state** (network and transactions), and **querying Stellar network data** (accounts, balances, trades, and more).

Use `useLoginEmail`, `useLoginSms`, `useLoginOAuth`, `useLoginPasskey`, and `useLoginWallet` to build your own login screen. See the [white-label login guide](/react/usage/white-label-login) for complete examples.

All data-fetching hooks are built on [TanStack Query](https://tanstack.com/query/v5) and support the full suite of query options including caching, background refetching, pagination, and dependent queries.

Hooks backed by a core address field accept the same `G…`, `M…`, `C…`, SEP-2,
and `.xlm` values as the corresponding core function. Invalid and unregistered
names surface through the query or mutation's `error`. See
[address resolution and `.xlm` names](/javascript/core/address-resolution).

---

<Cards>
  {getPageTreePeers(source.getPageTree(), '/react/hooks').map((peer) => (
    <Card key={peer.url} title={peer.name} href={peer.url}>
      {peer.description}
    </Card>
  ))}
</Cards>