17 components · 22 blocks

Copy the source.
Own the animation.

Animated React components built with GSAP and Tailwind CSS. The CLI copies the whole file into your project — there is no package to install and no API to learn.

The easing curve Tween UI components share, with a dot riding ittimevalue
cubic-bezier(0.32, 0.72, 0, 1)
timeline · 2.4s · 4 tweens

Live

Every preview is the real component.

Hover any of these. It is the same file the CLI writes into your project.

Why Tween UI

What you get

Tween UI is not a dependency. It is source code with a good install story.

  1. One file per component

    The CLI writes a single .tsx into your project. Rename it, restyle it, delete half of it — nothing upstream breaks.

  2. GSAP where it matters

    Timelines, ScrollTrigger and SplitText drive the sequenced work. Anything simpler stays a plain CSS transition.

  3. Reduced motion, always

    Every component checks prefers-reduced-motion and renders its finished state instead of animating.

Get started

Start with one file.

Pick a component, run the command, keep the code.

npx shadcn@latest add @tween-ui/tab-wipe