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/

Iris Wipe

An iris closes on the old page and opens on 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/iris-wipe

Usage

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

API Reference

PropTypeDefaultDescription
transitionstringThe boundary's transition"iris-wipe" for this style, on <PageTransition> for every navigation.
durationnumber700Milliseconds on <PageTransition>. Overrides this style's 700ms timing. Edit var(--tk-page-duration, 700ms) 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"This style looks the same in both directions.