Animations (experimental)Reference
@neshel-ui/animations/page-transitions/next
Every export of @neshel-ui/animations/page-transitions/next, generated from its declarations.
Experimental and not on npm
@neshel-ui/animations is a private package (0.0.0). It cannot be installed, and its API may change before a first publication. These pages document what exists in the repository.
Signatures, members and defaults, generated from the built declarations. For explanations and examples read the guide.
NextPageTransitionscomponentRoot-layout component: progress, direction and focus around App Router navigations.
({ focus, progress, children }: NextPageTransitionsProps): ElementTransitionLinkcomponent`next/link` plus Neshel transition types and the pending state (PT10).
({ effect, transitionTypes, onNavigate, href, ref, ...props }: TransitionLinkProps): ElementNextPageTransitionsPropsinterfaceNextPageTransitionsProps
NextPageTransitionsProps Prop Type Default Description children ReactNode— — focus "auto" | "none""auto"Focus [data-neshel-route-focus]after a committed push/replace (default"auto").progress RouteProgressOptions | false— Route progress options, or falseto render none.TransitionLinkPropstypeTransitionLinkProps
TransitionLinkProps Prop Type Default Description effect PageEffect"fade"Effect type added to the navigation's transition types (default "fade").ref Ref<HTMLAnchorElement>— — Also accepts the props of: next.