Settings Integrations 2 - API keys management

An API keys settings section listing masked secret keys with reveal, copy and revoke actions, last-used dates and an inline create flow that shows a new key exactly once. Use it in developer settings for any product with a public API.

About Settings Integrations 2

An API keys settings section listing masked secret keys with reveal, copy and revoke actions, last-used dates and an inline create flow that shows a new key exactly once. Use it in developer settings for any product with a public API.

Settings Integrations 2 is a free settings integrations block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 115 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • settings
  • api keys
  • developer
  • secret
  • masked
  • revoke

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/settings-integrations-02

Dependencies installed automatically: lucide-react, motion.

Uses: button, input, reveal, utils.

Usage

import SettingsIntegrations02 from "@/components/blocks/settings-integrations-02"

export default function Page() {
  return <SettingsIntegrations02 />
}

FAQ