Loading component…
Loading component…
An agent card seen like a selection in a design tool – tilted back, with a blue frame, spacing numbers and a red guide walking through its rows
To reuse this local React demo, copy all files from the Code tab into the same folder, then import InspectAgentCard from ./inspect-agent-card.
import { InspectAgentCard } from "@/components/ui/inspect-agent-card";
export function Hero() {
return (
<section className="relative">
<h1>UI for AI agents</h1>
<InspectAgentCard className="absolute right-0 top-24" />
</section>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| above | InspectAgent \| null | The card faded out above it – null leaves it out | |
| playing | boolean | true | Walks the selection through the rows – false holds it on the header |
| hold | number | 1600 | How long the selection stays on a row, in ms |
| delay | number | 600 | Wait before the first selection, in ms – e.g. until the section around it has come in |
| mirror | boolean | false | Tilted the other way and fading out to the left, the edge marks on the right – for the left side of a layout |
| flat | boolean | false | No tilt |
| className | string | Extra class on the root |
Fixed size, about 400 × 330px with its fades – scale it with zoom or a transform for smaller screens
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"