Skip to Content
Neshel-UI
Animations (experimental)Reference

@neshel-ui/animations/page-transitions/react-router

Every export of @neshel-ui/animations/page-transitions/react-router, 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.

  • RouterPageTransitions component

    Inside a router: progress, direction and focus around navigations.

    ({ focus, progress, failed, children, }: RouterPageTransitionsProps): Element
  • RouterPageTransitionsProps interface

    RouterPageTransitionsProps

    RouterPageTransitionsProps
    PropTypeDefaultDescription
    childrenReactNode——
    failedboolean—Set by the application when it knows the last navigation failed (error boundary shown).
    focus"auto" | "none""auto"Focus [data-neshel-route-focus] after a committed push/replace (default "auto").
    progressRouteProgressOptions | false—Route progress options, or false to render none.
Edit on GitHub