The same API keys chrome with no keys yet.
No keys yet.
Create a key to call the Cronus API.
Install with the CLI, or add the packages and paste the source below.
Add API keys to your app with its source-owned dependencies.
npx cronus-ui add api-keys
Install the Cronus UI packages, then paste the block below.
Copy the source for Empty. Every class is a semantic token, so it re-themes with your app.
import {Button,Card,CardAction,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Separator,} from "@cronus-ui/ui";import { Plus } from "lucide-react";export function ApiKeysEmptyBlock() {return (<Card className="mx-auto w-full max-w-2xl gap-0 pb-0 shadow-md"><CardHeader><CardTitle className="font-display text-lg">API keys</CardTitle><CardDescription>Programmatic access to your Cronus workspace.</CardDescription><CardAction><Button variant="primary" size="sm"><Plus className="size-3.5" aria-hidden="true" />Create key</Button></CardAction></CardHeader><CardContent className="flex flex-col items-center justify-center gap-2 py-12 text-center"><p className="text-sm font-medium text-fg">No keys yet.</p><p className="text-sm text-fg-secondary">Create a key to call the Cronus API.</p></CardContent><Separator /><CardFooter className="justify-between gap-3 py-5"><span className="text-xs text-fg-tertiary">0 active keys</span><span className="text-xs text-fg-tertiary">Rotate keys at least every 90 days.</span></CardFooter></Card>);}
No keys yet.
Create a key to call the Cronus API.