TegakiRenderer
The renderer component is available for every supported framework. See the framework guides for import paths.
Import
Section titled “Import”Type: TegakiBundle — Required
The font bundle containing glyph components, metrics, and timing data.
children / text
Section titled “children / text”Type: string
The text to render. Can be passed as children or the text prop.
Type: number | TimeControlProp
Controls animation timing. Pass a number for controlled mode, or an object:
effects
Section titled “effects”Type: TegakiEffectConfigs
Effects configuration:
Style object or string applied to the container. Use fontSize to control the text size.
onComplete
Section titled “onComplete”Type: () => void
Callback fired when the animation reaches the end (uncontrolled mode only).
Helper functions
Section titled “Helper functions”computeTimeline(text, font)
Section titled “computeTimeline(text, font)”Computes the total animation duration for a given text and font bundle. Useful for controlled time mode.