corr

Key Value List

Component 7

About

A definition-list component that displays label/value pairs with optional descriptions for metadata and payload details.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Key Value List to your project and fits it to your theme.

Code

How Key Value List is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { KeyValueList } from "@/components/ui/key-value-list";

export default function KeyValueListDemo() {
  return (
    <div className="mx-auto w-full max-w-md p-6">
      <KeyValueList
        variant="bordered"
        items={[
          { label: "Name", value: "key-value-list" },
          { label: "Type", value: "registry:component" },
          {
            label: "Author",
            value: "corr",
            description: "Maintained on ui.corr.sh",
          },
          { label: "Version", value: "1.0.0" },
          { label: "License", value: "MIT" },
        ]}
      />
    </div>
  );
}

More by corr

View all
  • Audit Log

    Audit Log

    83
  • Stepper

    Stepper

    57
  • Notice Alert

    Notice Alert

    36
  • Pie Chart

    Pie Chart

    8
  • Scroll Blur

    Scroll Blur

    8
  • Area Chart

    Area Chart

    4
  • Animated Spinner

    Animated Spinner

    3
  • Presence Fade

    Presence Fade

    2

Explore more