Skip to main content

Components

The user-interface parts that the LumoAuth SDKs give you, rendered on the page with their code, props and theme variables.

Each page shows a component running, then the install command, the code, and a table of its props. The components come from @lumoauth/react, and Next.js apps get the same components from @lumoauth/nextjs.

Authentication​

User​

Access control​

Buttons and hooks​

Agent patterns​

Patterns are larger pieces for applications in which an AI agent acts for a person: an approval request, the list of things that an agent may do, the chain of agents behind a token. You add a pattern to your project with the shadcn CLI and change it there: it is built from shadcn/ui components and works with both the Base UI and the Radix style. Each pattern names the calls that give it its data.

Approval request

A card that shows what an agent wants to do, why, and for how long, with Approve and Deny.

Reactshadcn/ui
Approvals inbox

A list of the requests that wait for a person, which updates while it is open.

Reactshadcn/ui
Approval status in a conversation

The message that a chat shows while an agent waits for a person: where the request went, and what happened.

Reactshadcn/ui
Tool call with a decision

One tool call of an agent, with the authorization decision next to it: allowed, needs approval, or refused with the reason.

Reactshadcn/ui
Agent identity

A badge and a card that say which agent this is, how it proves its identity, and whom it acts for.

Reactshadcn/ui
Capability list

What an agent may do, as a list of capabilities in the resource and action form, with a check for each one.

Reactshadcn/ui
Delegation chain

The chain of actors behind a token: the person, the agent that acts for the person, and each sub-agent after it.

Reactshadcn/ui
Connected accounts

The list of outside services that an agent can use for a person, with connect and disconnect for each.

Reactshadcn/ui
Budget meter

How much of its budget an agent has used: calls, tokens and cost, for the hour, the day and the month.

Reactshadcn/ui
Kill switch

A control that suspends an agent at once, with a confirmation that says what stops.

Reactshadcn/ui
Decision explainer

A panel that answers "why was this refused?" with the rule that decided and the next step.

Reactshadcn/ui
Token inspector

A decoded token with its claims explained: audience, scopes, the actor chain and the key that it is bound to.

Reactshadcn/ui
How this works panel

A side panel that shows the requests of the current flow, the tokens in them, and the docs page for each step.

Reactshadcn/ui
Device code

The code that a person types on another device, with the address to open and the state of the wait.

Reactshadcn/ui
MCP server card

An MCP server as a card: its address, the scopes it asks for, and whether this client is connected.

Reactshadcn/ui
Agent activity timeline

What an agent did, in order: tokens, tool calls, approvals and refusals, each with its trace.

Reactshadcn/ui
Organization switcher

A menu that shows the customer organization that a person works in, and lets the person change it.

Reactshadcn/ui

Hosted pages​

LumoAuth serves these pages for you, with your organization's branding. Each entry shows the page and lists what you can change.