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/

Curtain

The new page opens out of a centre strip as the old one closes into it. 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/curtain

Usage

<PageTransition id={pathname} transition="curtain">
  {children}
</PageTransition>
navigateWithTransition(() => navigate("/"));

API Reference

PropTypeDefaultDescription
transitionstringThe boundary's transition"curtain" 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.
easingstringcubic-bezier(0.65, 0, 0.35, 1)Easing on <PageTransition>. Overrides this style's easing. Edit var(--tk-page-easing, cubic-bezier(0.65, 0, 0.35, 1)) in the style's CSS to change only this style.
direction"forward" | "back""forward"This style looks the same in both directions.