ArtificialSenseDocs

Docs / Components

SenseUploadComponent

File picker with choose button, drag-and-drop, optional multi-select, and forms CVA support from @artificialsenselabs/ui. It does not perform HTTP upload or show progress — the parent owns that (not PrimeNG FileUpload parity).

Live demo: run nx serve showcase and open /components/upload (port 4202).

Overview

Category: Form controls. Selector: sense-upload. Import: import { SenseUploadComponent } from '@artificialsenselabs/ui';

Accessibility

  • Host exposes role="group" with a localized (or custom) upload area label.
  • Choose is a native button; drop uses the host as the drop target (keyboard users use Choose).
  • File list is a labelled <ul>; remove controls include the file name in their accessible name.
  • Disabled blocks choose, drop, and remove.