Back to components
ComponentAgentFree

Model Failover Path React component

Show which AI model is answering and what happens when one fails: requests move down a chain of backups, with speed and cost changing as they do.

About the Model Failover Path component

Model Failover Path makes a fallback plan easy to see. The line runs from each request to whichever model is answering, and the figures show what that means for speed and cost.

Take a model down and the traffic moves on to the next one, with a short log of what happened. It's a clear way to explain or rehearse an outage.

When to use it

Use it in AI gateways, admin panels and reliability docs.

Show real health data in production. Clicking to fail a model is best kept for demos and drills.

Installation

Add the Model Failover Path component to your project with the shadcn CLI. It lands in components/model-failover-path.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/model-failover-path

More Agent components

Goal vs Outcome Card
Free
Side by Side Runs
Free
Recurring Jobs Calendar
Free
Batch Job Matrix
Free
Function Call Receipt
Free
Assign to Bot Board
Free