---
agent:
  instructions: "Use this search API to find Volcano documentation, blog posts, and cookbook recipes with keywords or a natural-language question, instead of crawling individual pages. Results are markdown: the best-matching pages with the sections that matched, and a link to each page's full markdown."
  endpoint: "https://docs.staging.volcano.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.staging.volcano.dev/docs/cli/docs-search#search-from-an-agent-over-http"
---

# Components

Reusable React components for the Volcano Auth example.

# Components

Reusable React components for the Volcano Auth example.

## ConfigPrompt

Dynamic configuration prompt that appears when Volcano credentials are not set in environment variables.

Features:

- Checks the anon key format and rejects service keys (see `lib/anonKey.ts`)
- Saves credentials to localStorage
- Clear configuration option
- Helpful setup instructions

Used automatically by all pages via the `useVolcano` hook.

## FormField

A labeled input. Passes any other props through to the `<input>`.

## LoadingScreen

Full-page spinner shown while the SDK or the page's data loads.

## PageNav

Top navigation bar with the page title and its links.

## TabButton

One tab of a two-tab toggle, highlighted while active.
