API tokens
Lets people make keys for their own scripts. Each new secret shows once with a copy button, the list shows when a key was last used, and revoking asks first.
- Block
- Radix
- Light and dark
- Keyboard friendly
- Updated last month
Paste this into your agent.
Add create and revoke API keys, and show each secret only once to <the page you want it on>. Install it with: npx shadcn add @ollie/api-tokens Pass tokens in as props. Handle onRevoke yourself; don't fetch inside the component. Keep the ocean theme tokens.
More blocks
- Team membersInvite people, change roles and hide what they can't touch.
- BillingPlan, usage and invoices. You plug in your payment provider.
- Audit logWho changed what and when, with the before and after side by side.
- NotificationsA bell with the latest updates, and a full inbox behind it.
- Error pagesFriendly error and not-found pages with a way back.