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/

Scale

The new page scales up while the old one fades out. 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/scale

Usage

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

API Reference

PropTypeDefaultDescription
transitionstringThe boundary's transition"scale" for this style, on <PageTransition> for every navigation.
durationnumber500Milliseconds on <PageTransition>. Overrides this style's 500ms timing. Edit var(--tk-page-duration, 500ms) in the style's CSS to change only this style.
easingstringcubic-bezier(0.16, 1, 0.3, 1)Easing on <PageTransition>. Overrides this style's easing. Edit var(--tk-page-easing, cubic-bezier(0.16, 1, 0.3, 1)) in the style's CSS to change only this style.
direction"forward" | "back""forward"This style looks the same in both directions.