A workspace's keys by what uses them, with Revoke.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add @notchset-pro/api-key-listpnpm dlx shadcn@latest add @notchset-pro/api-key-listNeeds your registry key. Every components.json style gets the same files.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { ApiKeyList, type ApiKeyRow } from "@/components/ui/notchset/blocks/api-key-list";
import { Card } from "@/components/ui/notchset/card";
const KEYS: ApiKeyRow[] = [
{ id: "a", name: "Production sync", masked: "ns_live_••••7f3a", scope: "Read and write", created: "Aug 4", lastUsed: "21 min ago", by: "Priya" },
{ id: "b", name: "Data warehouse export", masked: "ns_live_••••c19e", scope: "Read only", created: "Jun 11", lastUsed: "Today 2:00", by: "Daniel" },
{ id: "c", name: "Old reporting script", masked: "ns_live_••••02bd", scope: "Read only", created: "Mar 2", lastUsed: "Jul 28", by: "Marcus", revoked: "Aug 1" },
];
export default function ApiKeyListDemo() {
const [keys, setKeys] = React.useState(KEYS);
return (
<Card className="w-full max-w-[760px]">
<ApiKeyList
keys={keys}
onRevoke={(id) => {
setKeys((ks) => ks.map((k) => (k.id === id ? { ...k, revoked: "Just now" } : k)));
return true;
}}
/>
</Card>
);
}This example also uses Card. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add @notchset-pro/api-key-list @notchset/cardcomponents/ui/notchset/blocks/api-key-list.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
keys–
ApiKeyRow[]Required.
onRevoke–
(id: string) => booleanRevokes it; return false when that was refused (offline), so the confirm stays open.
empty–
React.ReactNodeGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
A revoked key's name is in the second ink, not faded.
v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Sign-in, settings and developers. Getting in, the settings people change, and the keys and webhooks developers need.
4 free · 2 ProSee the Sign-in, settings and developers kit
Pro is in early access.