amankaushik481

Api Key List

Dashboards

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>
  );
}

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    5
  • Background Boxes

    Background Boxes

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Typing Text

    Typing Text

    1
  • Treemap Chart

    Treemap Chart

    1
  • Particles

    Particles

    1

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    94
  • serf dashboard

    serf dashboard

    84
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.1K
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    572
  • Sidebar

    Sidebar

    422
  • Dashboard Shell

    Dashboard Shell

    215