Table of Contents

Property Initial

Namespace
Velvet
Assembly
Velvet.Docs.dll

Initial

Mount-time starting variant label. When this Motion sets Initial + Animate + Variants, the enter starts the element at variants[Initial] and transitions to variants[Animate] (which it then rests at, persistently); with no Animate it rests at variants[Initial]. Transition resolves the timing. The motion guide's Enter on mount section owns who plays the enter and when a presence withholds it — initial/animate apply to any Motion node; AnimatePresence is only required for Exit. Null = no variant initial state.

public string? Initial { get; init; }

Property Value

string