Code editor

Dependency-free multiline code editing surface with an optional line-number gutter.

Inputs, selection, validation, dates, and native form behavior.

lr-code-editor

import '@aceshooting/lyra-ui/components/lr-code-editor.js';

Read guide (English)

Related components

  • Color picker — Form-associated native color input with label, hint, and validation-error chrome.
  • Combobox — Filterable single or multi-select pairing a text input with a listbox popover.
  • Date input — Date field with an attached calendar popover and an ISO-8601 value.
  • Date picker — Inline month-grid calendar for picking a single date or a date range.
  • Period picker — Chooses a reporting period and navigates to the previous or next one.
  • Emoji picker — Searchable, keyboard-navigable, form-associated picker for choosing an emoji.