Skip to content
Hazine

Media and Motion

3 of 34 shipped. Media containers and restrained motion pieces. All motion sits behind motion-safe and has a static reduced-motion form.

01 / Carousels

1 of 5 shipped
  • carousels

    Single-slide carousel that advances every six seconds, with the pause control first in the tab order and a timed bar on the current slide marker. Use it for announcement or testimonial rotations.

    How it differs. Timer-driven: the rotation toggle and a status sentence sit before a crossfading stage, and the slide markers below double as the countdown. Hover and focus hold it, choosing a slide stops it.

    shadcn add @hazine/carousel-auto-rotate-pause-first

    Depends on button, @hazine/use-controllable-state, lucide-react

Planned 4

  • Paged card carousel
  • Peek-next snap carousel
  • Carousel with synced thumbnails
  • Stacked deck carousel

02 / Image galleries

0 of 5 shipped

Planned 5

  • Masonry column gallery
  • Featured image plus grid gallery
  • Filterable gallery
  • Justified row gallery
  • Aspect-ratio image frame

03 / Audio and video players

0 of 5 shipped

Planned 5

  • Video player with captions control
  • Compact audio row
  • Waveform scrubber
  • Chaptered player
  • Click-to-load video embed
  • animated numbers and text

    Number that counts from a start value to its final value the first time it scrolls into view, formatted with Intl. The server render and screen readers get the final value only.

    How it differs. Interpolates the whole value on an animation frame loop. The moving node is hidden from assistive technology and a visually hidden sibling carries the final value.

    shadcn add @hazine/animated-counter

Planned 5

  • Rolling digits
  • Staggered text reveal
  • Word rotate with pause
  • Typewriter text
  • Highlight sweep

05 / Interactive surfaces

1 of 5 shipped
  • interactive surfaces

    Card with a soft radial highlight that follows the pointer inside its bounds and fades out on leave. The highlight size and colour are CSS variables that default to the primary token.

    How it differs. A single card lit by one radial layer positioned through custom properties set on pointer move, with content above the layer and no layer on touch.

    shadcn add @hazine/spotlight-card

Planned 4

  • Tilt card
  • Border beam
  • Magnetic hover
  • Pointer-follow glow grid

06 / Marquees and tickers

0 of 3 shipped

Planned 3

  • Logo marquee
  • News ticker
  • Vertical ticker

07 / Comparison and reveal

0 of 3 shipped

Planned 3

  • Before and after slider
  • Hover and focus reveal
  • Toggle compare

08 / Decorative backgrounds

0 of 2 shipped

Planned 2

  • Hairline grid with registration marks
  • Drifting glow mesh