ArtificialSenseDocs

Docs / Components

SenseImageCompareComponent

Before/after image comparison controlled by a native range slider from @artificialsenselabs/ui. The vertical divider is decorative — keyboard and pointer users move the range control (Arrow / Home / End / Page keys).

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

Overview

Category: Media. Selector: sense-image-compare. Import: import { SenseImageCompareComponent } from '@artificialsenselabs/ui';

Accessibility

  • Motor / keyboard alternative is the native type="range" (not a custom drag-only handle).
  • Localized aria-label plus aria-valuetext for the current percent.
  • Provide meaningful leftAlt / rightAlt when each image is informative.