About
A settings-page card that lists API keys with masked previews, a creation-date badge, and a rotate button per key, plus a header action to create a new key.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Api Key List to your project and fits it to your theme.
Code
How Api Key List is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ApiKeyList } from "@/components/ui/api-key-list";
export default function ApiKeyListDemo() {
return (
<div className="w-full max-w-lg p-6">
<ApiKeyList
keys={[
{
id: "1",
name: "Production",
preview: "md_live_••••1234",
created: "Aug 12",
},
{
id: "2",
name: "Staging",
preview: "md_test_••••91c0",
created: "Sep 1",
},
]}
/>
</div>
);
}















