Promptary
Frontend ยท Data Display

Data Display developer concepts

Learn 49 Data Display concepts for Frontend development, with definitions, aliases, and ready-to-use AI prompts.

Text, labels & identity

Heading

A semantic title that introduces a page or organizes content into a meaningful hierarchy.

Also known as
Title, Section heading, Headline
AI prompt
Create a semantic heading hierarchy with one descriptive page title, correctly nested section headings, styles independent from heading level, useful anchor targets, and no skipped levels that confuse screen-reader navigation.

Body text

Readable prose used for descriptions, instructions, articles, and supporting information.

Also known as
Paragraph, Copy, Prose
AI prompt
Create readable body text with a comfortable line length, responsive type size and line height, semantic paragraphs and lists, sufficient contrast, and spacing that remains clear at 200 percent zoom.

Truncated text

Long text shortened visually with an ellipsis while the complete value remains available.

Also known as
Ellipsis text, Clamped text, Text overflow
AI prompt
Create single-line and multi-line text truncation that only activates when needed, preserves the complete accessible value, reveals the full text on focus or an explicit action, and never hides critical instructions or status.

Inline code

A short command, token, property, or code fragment shown within surrounding prose.

Also known as
Code token, Code span, Monospace token
AI prompt
Create an inline code style using semantic code markup, legible monospace type, sufficient contrast, safe wrapping for long tokens, and copy behavior that preserves the exact characters.

Code block

A preformatted multi-line source example with language context and optional copy action.

Also known as
Code snippet, Source block, Preformatted code
AI prompt
Create an accessible code block with a visible language label, semantic pre and code elements, preserved whitespace, horizontal overflow contained within the block, keyboard-accessible copy action, copied feedback, and readable syntax colors.

Blockquote

A quotation set apart from surrounding content with its source or citation.

Also known as
Pull quote, Quotation, Quote block
AI prompt
Create a semantic blockquote with concise quoted content, a clearly associated source using cite or figcaption, restrained visual emphasis, readable wrapping, and quotation marks that are not the only cue.

Avatar

A compact visual representation of a person, team, organization, or agent.

Also known as
Profile image, User portrait, Identity image
AI prompt
Create an avatar component supporting images, initials, and deterministic fallbacks; provide useful alternative text only when the identity is not already named nearby, preserve aspect ratio, and expose size and status variants.

Avatar group

A compact overlapping or adjacent set of avatars representing several members.

Also known as
Avatar stack, People group, Member stack
AI prompt
Create an accessible avatar group with named member images, a visible overflow count, non-color status cues, stable overlap order, keyboard-accessible member details when interactive, and a readable list alternative.

Badge

A compact visual indicator for a numeric tally, unread count, or short score.

Also known as
Count badge, Counter, Notification badge
AI prompt
Create an accessible count badge with a concise visible value, capped large counts such as 99+, an understandable accessible label, sufficient contrast, and live announcements only when the update is important.

Status lozenge

A prominent compact label communicating an object's meaningful state or priority.

Also known as
Status pill, Status badge, Lozenge
AI prompt
Create status lozenges for active, pending, warning, and failed states with concise text, semantic colors plus icons or words, sufficient contrast, consistent meaning, and no misleading interactive styling.

Tag

A compact label used to categorize or identify an object for recognition and discovery.

Also known as
Chip, Category label, Token
AI prompt
Create non-interactive and removable tag variants with concise text, clearly labelled remove buttons, wrapping and truncation rules, visible keyboard focus for actions, and a tag group that announces its purpose.

Timestamp / Date label

A date or time value presented with enough context to understand when something occurred.

Also known as
Date label, Relative time, Time label
AI prompt
Create a timestamp using the semantic time element, a machine-readable datetime value, clear locale-aware display, explicit time-zone context when relevant, and full absolute date and time for ambiguous relative labels.

Content & collections

Card

A self-contained surface grouping related information and optional actions about one subject.

Also known as
Content card, Tile, Panel
AI prompt
Create a responsive information card with one clear subject, semantic heading, optional media and metadata, correctly scoped actions, no nested interactive controls inside a stretched link, and content that remains usable without fixed height.

Responsive image

Visual content delivered at an appropriate size and resolution for its display context.

Also known as
Picture, Responsive media, Content image
AI prompt
Create a responsive image using intrinsic dimensions, srcset and sizes where useful, appropriate object-fit, lazy loading below the fold, meaningful alternative text or an empty alt for decoration, and reserved space to prevent layout shift.

Figure and caption

Self-contained media or illustration paired with a directly associated explanation or credit.

Also known as
Captioned media, Figure, Image caption
AI prompt
Create a semantic figure containing meaningful media and a concise figcaption that explains or credits it, avoid duplicating the image alternative text, maintain readable alignment, and keep the caption associated during responsive reflow.

Description list

Names and corresponding values or descriptions represented with semantic term-value relationships.

Also known as
Definition list, Key-value list, Metadata list
AI prompt
Create a semantic description list using dl, dt, and dd for account metadata, align terms and values responsively, support multiple values per term, preserve meaningful source order, and display missing values consistently.

Summary list

A scannable series of key details, often with row-level actions for reviewing submitted information.

Also known as
Review list, Details summary, Key details
AI prompt
Create an accessible summary list for reviewing application details, with clear keys and values, optional row actions whose accessible names include the affected field, responsive stacking, and no table markup unless the data is genuinely tabular.

List

A semantic ordered or unordered collection of related items.

Also known as
Bullet list, Numbered list, Item list
AI prompt
Create semantic ordered and unordered list styles with visible markers, nested-level distinction, comfortable spacing, support for long wrapping content, and no removal of list semantics from assistive technologies.

Structured list

A lightweight row-based collection with consistently aligned fields but less density than a table.

Also known as
Row list, Data list, Lined list
AI prompt
Create a structured list for a small set of consistently shaped records, use semantic list or description-list markup, align labels and metadata without pretending it is a data table, and stack secondary fields cleanly on small screens.

Timeline

Events arranged along a chronological axis to communicate sequence and history.

Also known as
Event timeline, History, Chronology
AI prompt
Create an accessible vertical timeline with semantic ordered-list markup, machine-readable timestamps, clear event titles and descriptions, current-state indication beyond color, sensible reverse-chronological labeling, and a compact mobile treatment.

Activity feed

A stream of recent actions showing who did what and when.

Also known as
Audit feed, Recent activity, Event stream
AI prompt
Create an activity feed with actor, action, object, and timestamp expressed as a readable sentence, grouped dates, useful avatar alternatives, pagination or load-more behavior, stable update announcements, and links whose purpose is clear out of context.

Tree view

Hierarchical information shown as expandable parent and child nodes.

Also known as
Hierarchy tree, Outline view, Folder tree
AI prompt
Create an accessible tree view for hierarchical files only when full tree interaction is needed, implementing arrow-key traversal, Home and End, expand and collapse state, visible focus separate from selection, and accurate level and set metadata.

Accordion / Collapse

Stacked disclosure sections that progressively reveal related content while conserving space.

Also known as
Collapse panel, Disclosure group, Expandable sections
AI prompt
Create an accessible accordion using heading-contained buttons with aria-expanded and aria-controls, independent panels unless single-open behavior is necessary, visible focus, preserved state, and content that remains available without animation.

Tables & dense data

Data table

Structured row-and-column data designed for accurate scanning and comparison.

Also known as
Table, Tabular data, Results table
AI prompt
Create a semantic responsive data table with a visible caption, thead and tbody, th cells with correct scope, aligned numeric columns, a consistent missing-value convention, contained horizontal scrolling, and no table markup for page layout.

Sortable table

A data table whose rows can be reordered by activating column-header controls.

Also known as
Dynamic table, Column sorting, Ordered table
AI prompt
Create a sortable semantic data table with real buttons inside sortable headers, one active aria-sort value, clear ascending and descending indicators beyond color, stable secondary ordering, keyboard operation, and an announced result summary.

Filterable table

A table paired with search or filters that narrow the visible records.

Also known as
Searchable table, Filtered results table, Table filters
AI prompt
Create a filterable data table with clearly labelled search and filter controls, explicit Apply and Clear behavior when appropriate, active-filter chips, result count and empty state, URL-shareable state, preserved table semantics, and debounced updates.

Selectable table

A data table with row-selection controls for applying actions to one or more records.

Also known as
Row selection table, Bulk-action table, Checkbox table
AI prompt
Create a selectable data table with a labelled checkbox per row, an accurately mixed select-all control, selection count, keyboard-accessible bulk actions, preserved selection across pagination only when clearly stated, and no row click that conflicts with controls.

Expandable-row table

Table rows that reveal additional detail while maintaining their tabular context.

Also known as
Detail rows, Disclosure table, Expandable data table
AI prompt
Create a semantic table with labelled expand buttons per row, aria-expanded state, detail content associated with the correct record, preserved column alignment, sensible behavior when sorting or filtering, and a narrow-screen alternative.

Grouped table

Related rows organized under meaningful group headings or subtotals.

Also known as
Sectioned table, Grouped rows, Subtotal table
AI prompt
Create a grouped data table with programmatically identified row groups, clear group labels and subtotals, repeated column context where needed, expansion only when useful, and sorting rules that do not separate records from their group.

Comparison table

Features or attributes aligned across alternatives to support side-by-side evaluation.

Also known as
Feature comparison, Pricing comparison, Matrix table
AI prompt
Create a responsive comparison table with alternatives as clearly scoped headers, meaningful feature row headings, text alternatives for icons, highlighted recommendations that do not rely on color, a sticky context where safe, and a readable stacked mobile view.

Tree table

A table combining hierarchical expandable rows with aligned data columns.

Also known as
Table tree, Tree grid, Hierarchical table
AI prompt
Create an accessible tree table only for hierarchical records with comparable columns, using an appropriate treegrid interaction model, labelled expand controls, visible depth, accurate expanded and level state, keyboard navigation, and a simpler nested-list alternative where possible.

Pivot / Crosstab table

Aggregated measures arranged against two or more categorical dimensions.

Also known as
Crosstab, Pivot grid, Summary matrix
AI prompt
Create a pivot-style summary table with explicit row and column group headers, associated multi-level header markup, totals and subtotals, formatted measures, frozen context only when it remains accessible, and an export plus simpler summary option.

Virtualized list

A large collection that renders only the visible window of items for performance.

Also known as
Windowed list, Virtual scroll, Infinite data list
AI prompt
Create an accessible virtualized list for thousands of records with stable item keys and heights, accurate total and position metadata, keyboard focus that survives recycling, search and jump controls, loading and end states, and a non-virtualized fallback for assistive technology where needed.

Metrics & visualization

Statistic

One prominent numeric value paired with a clear label, unit, and optional context.

Also known as
Stat, Metric, Big number
AI prompt
Create a statistic component with an explicit label, locale-formatted value and unit, optional comparison period, meaningful trend text beyond arrows or color, stable loading width, and a machine-readable full value when display is abbreviated.

KPI card

A compact business metric combining current value, target, trend, and supporting context.

Also known as
Metric card, Scorecard, Performance tile
AI prompt
Create a KPI card with metric name, current value, unit, comparison period, target and trend expressed in text, optional sparkline, semantic grouping, consistent number formatting, and states for unavailable or stale data.

Progress bar

A linear indicator showing completion toward a known total or an indeterminate wait.

Also known as
Linear progress, Completion bar, Progress indicator
AI prompt
Create a progress bar using the native progress element or correct progressbar semantics, a visible task label and percentage, accurate min and max values, indeterminate behavior when total is unknown, reduced-motion support, and completion feedback.

Circular progress

A ring-shaped indicator showing a bounded completion value in compact space.

Also known as
Progress ring, Radial progress, Completion circle
AI prompt
Create an accessible circular progress indicator with correct progressbar semantics, visible numeric value and task label, an SVG ring that does not carry meaning alone, clear complete and indeterminate states, and reduced-motion support.

Meter

A scalar measurement within a known range, including low, optimum, and high regions.

Also known as
Level indicator, Range meter, Capacity bar
AI prompt
Create a semantic meter for storage usage with min, max, low, high, optimum, and current values, a visible label and formatted value, non-color threshold cues, and no use for task progress.

Gauge chart

A dial-like display showing one value against meaningful qualitative ranges.

Also known as
Dial chart, Speedometer chart, Radial gauge
AI prompt
Create an accessible gauge for a single bounded measure with a clear title, numeric value and unit, labelled thresholds, non-color range distinctions, a concise text summary, and no decorative precision beyond what the data supports.

Sparkline

A tiny context-rich chart showing a compact trend without full axes.

Also known as
Micro chart, Trend line, Inline chart
AI prompt
Create a sparkline paired with the metric it contextualizes, include accessible start, end, minimum, maximum, and trend text, avoid treating it as a precise standalone chart, and use stable scales when comparing multiple sparklines.

Bar chart

Rectangular bars compare values across discrete categories using length on a common baseline.

Also known as
Column chart, Bar graph, Category chart
AI prompt
Create an accessible bar chart for category comparison with a descriptive title, zero baseline, labelled axes and units, directly labelled values where practical, keyboard-reachable details, non-color series distinction, responsive labels, and an equivalent data table.

Line chart

Connected points reveal change and trends across an ordered dimension such as time.

Also known as
Trend chart, Time-series chart, Line graph
AI prompt
Create an accessible time-series line chart with descriptive title, labelled time and value axes, units, markers or line styles beyond color, keyboard-accessible point details, clear missing-data treatment, responsive ticks, a concise trend summary, and a data-table alternative.

Area chart

A line chart with the region beneath the series filled to emphasize magnitude over time.

Also known as
Filled line chart, Stacked area chart, Area graph
AI prompt
Create an accessible area chart for magnitude over time with labelled axes and units, a meaningful zero baseline, controlled opacity, distinguishable boundaries for multiple series, a text summary, keyboard-accessible details, and an equivalent data table.

Pie chart

Circular slices show a small number of categories as proportions of one whole.

Also known as
Circle chart, Part-to-whole chart, Pie graph
AI prompt
Create an accessible pie chart only for a few parts of one meaningful whole, order and directly label slices with category and percentage, distinguish them beyond color, include the total and an equivalent list or table, and use a bar chart when precise comparison matters.

Donut chart

A ring divided into segments showing part-to-whole proportions with central summary space.

Also known as
Doughnut chart, Ring chart, Radial proportion chart
AI prompt
Create an accessible donut chart for a small part-to-whole dataset with total in the center, direct category and percentage labels, sufficient segment contrast beyond color, keyboard-accessible details, and an equivalent list or table.

Scatter plot

Points positioned by two numeric variables reveal correlation, clusters, and outliers.

Also known as
Scatter chart, XY plot, Correlation plot
AI prompt
Create an accessible scatter plot with descriptive x and y axis labels and units, distinguishable point groups using shape plus color, keyboard-accessible point details, highlighted outliers, an honest optional trend line, a relationship summary, and downloadable tabular data.

Histogram

Adjacent bins show the frequency distribution of continuous numeric values.

Also known as
Frequency distribution, Distribution chart, Binned chart
AI prompt
Create an accessible histogram with documented bin boundaries, adjacent bars, frequency or density axis label, sample size, meaningful summary of distribution and outliers, keyboard-accessible bin details, and the underlying values or frequency table.

Heat map

A matrix uses color intensity to reveal patterns across two categorical or ordered dimensions.

Also known as
Heatmap, Color matrix, Intensity grid
AI prompt
Create an accessible heat map with labelled rows and columns, a numeric legend, color scale with sufficient contrast and non-color values on focus, keyboard cell navigation, text summary of major patterns, and an equivalent data table.

Treemap

Nested rectangles encode hierarchical part-to-whole values through area and grouping.

Also known as
Tree map, Nested rectangle chart, Hierarchy map
AI prompt
Create an accessible treemap for hierarchical part-to-whole data with clearly labelled groups, direct values, stable color meaning, keyboard-accessible hierarchy and drill-down, breadcrumbs when zoomed, a hierarchy summary, and a sortable table alternative.