One property of a record as a small control that opens its picker.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add https://notchset.dev/r/property-pill.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/property-pill.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { Tag } from "lucide-react";
import { Menu, MenuItem } from "@/components/ui/notchset/menu";
import { PriorityMark } from "@/components/ui/notchset/priority-mark";
import { PropertyPill } from "@/components/ui/notchset/property-pill";
import { StatusGlyph } from "@/components/ui/notchset/status-glyph";
const PRI = ["No priority", "Low", "Medium", "High", "Urgent"] as const;
export default function PropertyPillDemo() {
const [priority, setPriority] = React.useState<0 | 1 | 2 | 3 | 4>(3);
const [labels, setLabels] = React.useState<string[]>([]);
return (
<div className="flex flex-wrap gap-1.5">
<PropertyPill kind="Status" icon={<StatusGlyph status="review" label="Recalculate ETA" />}>In review</PropertyPill>
<Menu trigger={<PropertyPill kind="Priority" icon={<PriorityMark priority={priority} />}>{PRI[priority]}</PropertyPill>}>
{([4, 3, 2, 1, 0] as const).map((p) => (
<MenuItem key={p} icon={<PriorityMark priority={p} />} onClick={() => setPriority(p)}>
{PRI[p]}
</MenuItem>
))}
</Menu>
<Menu trigger={<PropertyPill kind="Labels" icon={<Tag />} empty="Labels">{labels.join(", ")}</PropertyPill>}>
{["Backend", "Frontend", "Design"].map((l) => (
<MenuItem key={l} icon={<Tag />} onClick={() => setLabels((x) => (x.includes(l) ? x.filter((y) => y !== l) : [...x, l]))}>
{l}
</MenuItem>
))}
</Menu>
<PropertyPill kind="Due" tone="bad">3 days late</PropertyPill>
</div>
);
}This example also uses Menu, Priority mark, Status glyph. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add https://notchset.dev/r/property-pill.json https://notchset.dev/r/menu.json https://notchset.dev/r/priority-mark.json https://notchset.dev/r/status-glyph.jsoncomponents/ui/notchset/property-pill.tsx
kind–
stringwhat the property is ("Status", "Assignee"), read with its value
icon–
React.ReactNodeempty–
stringtone–
"bad"Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
New: one property of a record, picked in place.
v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.