Media
Image, video, and canvas widgets for rich visual content.
Canvas
Pixel-level drawing surface. Programmatic rendering with painter API.
- width: int
- height: int
- opaque: bool
Video
Video playback widget. Desktop-only. Supports MP4 and MJPEG streaming.
- source: string
- autoPlay: bool
- controls: bool
GIF
Animated GIF player. Frame-by-frame rendering with timing control.
- source: string
- loop: bool
- speed: float
AnimationImage
Sprite sheet animation. Sequence of images played as animation.
- source: string
- frameCount: int
- frameDuration: int
Lottie
Lottie animation player. Renders After Effects exports via body.json.
- source: string
- loop: bool
- progress: float