PropertyList

Labels and values for a details pane. One highlight follows the pointer; copyable values flip to a check and say Copied. Data.

Open playground
Project
Northwind
Region
eu-west-1
Project ID
prj_8f2c1a90
API key
demo_key_4d7e…c91
Created
March 4, 2026

About

PropertyList is a React component in the Data category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { PropertyList } from "@ashutoshswamy/smoui" and set items.

Install

Terminal
npm i @ashutoshswamy/smoui

Usage

TSX
import { PropertyList } from "@ashutoshswamy/smoui";

<PropertyList items={[{ label: "Project ID", value: "prj_8f2c1a90", copy: true, mono: true }, { label: "Region", value: "eu-west-1" }]} />

Props 1

items

`copy` adds a copy button; `mono` sets the value in a code face.

{ label; value; copy?; mono? }[]