Export button

Download table data as CSV or JSON, directly or from format menu.

Formatters, copy/export, JSON viewer, dividers and other helpers.

lr-export-button

import '@aceshooting/lyra-ui/components/lr-export-button.js';

Read di guide (for English)

Components wey relate

  • Byte formatter — E format byte size for locale, with adjustable unit step and precision.
  • Date formatter — E format date and time for locale through Intl.DateTimeFormat.
  • Number formatter — E format numbers, money and compact values for locale through Intl.NumberFormat.
  • Icon — Sharp inline SVG icons from named built-in paths, without extra dependency.
  • JSON viewer — Collapsible tree for inspecting any JSON, with copy action.
  • Known date input — Separate day, month and year fields for date wey person already know.