Skip to main content
Helios integrates seamlessly with Vue’s reactive system through composables that leverage Vue’s ref and computed APIs.

Quick start

1

Install dependencies

2

Create the useVideoFrame composable

composables/useVideoFrame.ts
3

Create your first animation

App.vue

Animation approaches

Animate Vue components using reactive bindings:

Animation helpers

Helios provides utility functions for common animation patterns:

Sequencing components

Sequence component

Create time-based sequences that show/hide content:
components/Sequence.vue

Series component

Automatically sequence child components one after another:
components/Series.vue

Usage example

Best practices

Create the Helios instance in the <script setup> block to ensure it’s only created once:
Leverage Vue’s computed properties for animation calculations:
Always unsubscribe in onUnmounted to prevent memory leaks:
Share frame state across component trees using Vue’s dependency injection:

TypeScript support

Helios provides full TypeScript support for Vue 3:

Next steps

Animation helpers

Learn about interpolation, spring physics, and easing functions

Canvas rendering

Create high-performance canvas animations

Sequences

Build complex multi-scene animations

Export videos

Render your animations to video files