API Reference.
Explore the complete, strictly-typed API surface of GlideCN. Every component, hook, registry method, and type schema in one place with zero runtime lock-in.
Core Components
Top-level provider, router coordinator, and route segment wrappers.
<GlideCNProvider>
The top-level root provider that establishes the transition context, manages global baseline configuration, and detects user reduced-motion preferences.
<GlideCN>
The framework-specific router coordinator orchestrating AnimatePresence, freezing exiting DOM trees to prevent white flashes, and handling scroll restoration.
<Page>
The route-level wrapper that connects pages to the animation engine and enables per-page transition overrides, directional axes, and GPU hints.
React Hooks
Runtime state controllers, timing mutators, and animation lifecycle listeners.
useGlide()
The primary control hook returning the active transition name, merged configuration, lifecycle status, accessibility state, and runtime mutators.
useTransitionConfig()
Lightweight convenience hook for reading resolved timing parameters and dynamically applying runtime configuration changes without full state overhead.
useAnimationState()
Monitors real-time animation phases for rendering transition loading bars, interaction click guards, and pulsing status indicators.
Engine & Registry
Transition discovery (getNames, getAll, getByCategory), custom transitions, and motion math.
TransitionRegistry
The global singleton registry for discovering installed transition names (list, listDefinitions), inspecting metadata, and registering custom transitions.
Animation Engine
Pure utility functions for Framer Motion variant tree compilation, cubic-bezier easing resolution, directional offsets, and GPU will-change hints.
Types & CLI Tooling
Strict TypeScript schema glossaries and interactive terminal scaffolding wizard.
TypeScript Types
Complete TypeScript definitions, interface schemas, and prop types for GlideCN. All types are strictly validated and exported directly from the barrel.
CLI Reference
The official glidecn-cli tool generates exact, production-ready source code directly into your repository with zero runtime baggage.
Ready to test transitions live?
Browse our catalog featuring live portal, spatial 3D, origami, and fluid flow page transitions.