For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
Shadcn Labs/

Doorway

The old page swings away on a hinge, revealing the new one. A React page transition built on View Transitions, installed with the shadcn CLI.

acme.studio/
Studio

We build interfaces that feel fast.

Design and engineering for teams who care about every frame.

FastEvery route ships under 50 kB.
ComposableBlocks that snap together.
TypedEnd-to-end type safety.

Installation

$ pnpm dlx shadcn@latest add @transition-kit/page/doorway

Usage

<PageTransition id={pathname} transition="doorway">
  {children}
</PageTransition>
navigateWithTransition(() => navigate("/"), { direction: "back" });

API Reference

PropTypeDefaultDescription
transitionstringThe boundary's transition"doorway" for this style, on <PageTransition> for every navigation.
durationnumber600Milliseconds on <PageTransition>. Overrides this style's 600ms timing. Edit var(--tk-page-duration, 600ms) in the style's CSS to change only this style.
easingstringease-inEasing on <PageTransition>. Overrides this style's easing. Edit var(--tk-page-easing, ease-in) in the style's CSS to change only this style.
direction"forward" | "back""forward"Pass { direction: "back" } to navigateWithTransition to run the style in reverse.