Xedoniumv1.26.2Search the docs (Ctrl K)View on GitHub
  • Getting started
  • Foundations
  • Layout
  • Typography
  • Inputs
  • Navigation
  • Feedback
  • Overlay
  • Data display
  • Charts
  • Date & time
  • Media
  • Application
  • Utilities
  • Hooks
  • Theme
  • Playground
  • Changelog
ankit.

Media

5 components

Images, avatars, video and carousels.

Avatar

Shows the image at src (any image URL) if it loads, otherwise initials from name. size: sm, md, lg. shape: …

Carousel

Each child is a slide. Controlled via index + onIndexChange or uncontrolled via defaultIndex. autoPlay (ms)…

Image

ratio: square, video, photo. fit is cover (the default, fills the box) or contain (shows the whole image).

Sound

Audio player built from the library's own Button, Slider and Select: play / pause, a seek bar with a time p…

Video

Player with themed controls: play, seek, time, mute with a volume slider, playback speed and fullscreen, us…