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








