Attachment trigger

Compact attach affordance that opens a file picker or capability menu in a chat composer.

Images, avatars, file inputs, maps, and QR codes.

lr-attachment-trigger

import '@aceshooting/lyra-ui/components/lr-attachment-trigger.js';

Read guide (English)

Related components

  • AV player — Audio/video player with a synced cue transcript, waveform, and playback-rate control.
  • Avatar group — Stacks overlapping avatars into a compact row that collapses extras into a +N badge
  • Drop zone — Drag-and-drop wrapper that turns any region into a file-drop target without a file picker of its own.
  • File icon — Localized file-type badge resolved from a MIME type or filename.
  • File input — Drag-and-drop and click-to-browse dropzone that emits the selected files.
  • Flag — Country or language flag rendered in a themeable, optionally circular frame.