A structured metadata sheet for billing summaries, entity drawers, and audit panels. Supports 1 to 3 columns, semantic status badges, copyable monospace IDs, and full-row spans with clean 1px seams.
Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
Updated 4 minutes ago via Stripe webhook
<ply-descriptions title="Workspace & Billing" subtitle="Updated 4 minutes ago via Stripe webhook" [items]="account" [columns]="columns()"></ply-descriptions>
TypeScript
import { Component, signal } from '@angular/core';
// Install: npx ply-ui-cli add descriptions
// Paths are relative to aliases.components (default: src/app/components)
import { DescriptionItem, DescriptionsComponent } from './descriptions/descriptions.component';
@Component({
selector: 'app-descriptions-example',
imports: [
DescriptionsComponent
],
template: `...`
})
export class DescriptionsExampleComponent {
columns = signal<1 | 2 | 3>(2);
readonly account: DescriptionItem[] = [
{ label: 'Workspace', value: 'Acme Angular Studio' },
{ label: 'Status', value: 'Active', badge: 'success' },
{ label: 'Workspace ID', value: 'ws_ply_01J9X4K2', mono: true, copyable: true },
{ label: 'Plan', value: 'Pro Suite · Annual', badge: 'primary' },
{ label: 'Seats', value: '12 / 25 assigned' },
{ label: 'Next invoice', value: '22 Nov 2026 · $299' },
{
label: 'Provisioning',
value: 'SSO via Okta enabled. Registry installs automatically write to src/app/ui/ with strict Tailwind v4 tokens.',
span: 2,
},
];
}Install
npx ply-ui-cli add descriptions
npx ply-ui-cli add descriptions
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Ply MCP server.
npx -y ply-ui-mcp
Ply provides standalone components. Import the exact elements you want to use into your component.
// Install: npx ply-ui-cli add descriptions
// Paths are relative to aliases.components (default: src/app/components)
import { DescriptionItem, DescriptionsComponent } from './descriptions/descriptions.component';
@Component({
selector: 'app-your-component',
imports: [
DescriptionsComponent
],
template: `...`
})
export class YourComponent {} API for descriptions — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
DescriptionItem | label | string | — | — |
DescriptionItem | value | string | — | — |
DescriptionItem | badge | 'primary' | 'success' | 'warning' | 'danger' | 'default' | — | Renders the value inside a semantic badge pill. |
DescriptionItem | mono | boolean | — | Formats the value in monospace with tabular numerals (IDs, keys, hashes). |
DescriptionItem | copyable | boolean | — | Adds a one-click copy button next to the value. |
DescriptionItem | span | 2 | 3 | — | Spans multiple grid columns on desktop. |
ply-descriptions | class | string | '' | Extra host classes merged via `cn()`. |
ply-descriptions | title | string | '' | Sheet heading. |
ply-descriptions | subtitle | string | '' | Optional one-line summary under the heading. |
ply-descriptions | items | DescriptionItem[] | [] | Metadata items to display. |
ply-descriptions | columns | 1 | 2 | 3 | number | 2 | Columns from 1 to 3. |
Content