Metadata List @astryx-svelte/core v0.3.0 · MetadataList

Usage

MetadataList displays key-value pairs for object attributes like quality, condition, and status, in a structured layout. Use it for detail panels, settings summaries, and record information.
ts
import { MetadataList } from '@astryx-svelte/core';

Best practices

GuidancePractices
DoChoose label position based on content: "start" for short values, "top" for long or complex values.
DoCollapse long lists with maxNumOfItems to keep the page scannable.
Don'tUse for extensive form input; use a form layout instead.
Don'tUse for data that doesn't have a clear key-value structure.

Examples

Common configurations, variations, and states.
MetadataList — Basic
Single-column key-value metadata list.
MetadataList — Collapsible
Metadata list with a show-more toggle after a set number of items.
MetadataList — Horizontal
Horizontal metadata items for compact inline display.
MetadataList — Multi-Column
Multi-column metadata grid with token tags.