# Alepha - React Auth

## Installation

Part of the `alepha` package. Import from `alepha/react/auth`.

```bash
npm install alepha
```

## Overview

Auth-related React components and hooks.

**Features:**

- Auth state hooks (`useAuth`)

Route protection is done with `use: [$secure(...)]` on the page or action,
not with wrapper components.

## API Reference

### React Hooks

- [`useAuth`](/docs/reference-react-hooks-useauth) - Reads the current user and exposes `login()` / `logout()`.
