Skip to Content
Neshel-UI
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.

  • NextPageTransitions component

    Root-layout component: progress, direction and focus around App Router navigations.

    ({ focus, progress, children }: NextPageTransitionsProps): Element
  • TransitionLink component

    `next/link` plus Neshel transition types and the pending state (PT10).

    ({ effect, transitionTypes, onNavigate, href, ref, ...props }: TransitionLinkProps): Element
  • NextPageTransitionsProps interface

    NextPageTransitionsProps

    NextPageTransitionsProps
    PropTypeDefaultDescription
    childrenReactNode——
    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.
  • TransitionLinkProps type

    TransitionLinkProps

    TransitionLinkProps
    PropTypeDefaultDescription
    effectPageEffect"fade"Effect type added to the navigation's transition types (default "fade").
    refRef<HTMLAnchorElement>——

    Also accepts the props of: next.

Edit on GitHub