Skip to main content

TransitionLink

Navigation component that triggers animated page changes based on CSS View Transitions. Use instead of React Router's Link or <a> tags when you want smooth native feeling navigation within your Mini. Should be wrapped within a MinisRouter.

Caution

In order for the animation transitions to work, you need to enable view transitions in MinisRouter

string
required

The target path to navigate to

Anchor to children
children
React.ReactNode

Content to render inside the link

Anchor to onClick
onClick
React.MouseEventHandler<HTMLAnchorElement>

Click handler called before navigation


Was this page helpful?