Back to Components
Display

Key Value List

Definition list for metadata with horizontal or vertical layouts.

PropsUsage ExampleVariations
Workspace
Nova Studio
Plan
Enterprise
Region
Europe
Owner
Sasha Lee
Workspace
Nova Studio
Plan
Enterprise
Region
Europe
Owner
Sasha Lee

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/key-value-list.tsx

Installation

Using shadcn CLI

npx shadcn add key-value-list --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge

Related Display Components