ValyroUI Русская версия

Record Card

Record card: status, context, key fields and actions. Pro · Data and metrics › Cards

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add record-card
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { RecordCard } from 'valyro-ui-pro';

Props

PropTypeDefault
title *ReactNodeName of the record: an incident, an order, a ticket.
descriptionReactNodeOne or two sentences under the title.
metaReactNodeSmall uppercase context line: "Production · API".
statusRecordCardStatusStatus pill at the end of the meta line.
fieldsDescriptionListItem[][]Key facts shown in an inset panel.
columnsnumber2Columns of the fields panel. Default 2.
actionsReactNodeButtons at the bottom.
childrenReactNodeFree content between the fields and the actions.
headingLevel1 | 2 | 3 | 4 | 5 | 63Level of the title (default 3).

Related components

  • Card — All-purpose cards
  • Item Card — Row card: icon, title, description and a control on the right
  • Carousel — Carousel: scroll snap, swipe, autoplay, thumbnails
  • Empty State — No-data screen
  • Data Table — Tables with search and sorting
  • Data Grid — Grid for 100,000 rows: grouping, filters, inline editing
  • Virtual List — Virtual list for 100,000 rows
  • Bulk Action Bar — Actions for selected rows, with keyboard shortcuts
  • List Block — List with images or icons, descriptions and values
  • Description List — Key–value list: stacked, inline or a grid with icons
  • Tree View — Tree structures
  • Accordion — Collapsible sections

Previous: Item Card · Next: Carousel · All Data and metrics