Modern, flashy React UI components for your next project
Just added
The newest components in the library, updated as they land.
Free animated components for React and Next.js
Copy-paste or install with one command. Built with Tailwind CSS, shadcn/ui and Motion, free for any project.
- Glow Border ButtonA rotating conic-gradient border that orbits the button.
- Gradient TextText filled with a gradient that flows continuously.
- Magnetic ButtonA button that pulls toward the cursor while you hover over it.
- MarqueeAn infinite horizontal scroller that pauses on hover.
- Shimmer ButtonA neon pill with a light sweep that loops across its surface. Colors, speed and glow are all props.
- Spotlight CardA card with a soft radial light that follows the cursor.
- Tilt CardA card with a 3D perspective tilt and glare driven by the cursor position.
- ButtonButtons in every variant and size, with a built-in loading, success and error flow that skips the spinner for fast requests.
- Button groupButtons joined into one control, with shared seams, separators, text addons, nesting and vertical stacks.
Why Kryptonite UI
Looks great out of the box. Stays easy to change.
all free and open source
your-app
components
kryptonite
ShimmerButton.tsx
Copy and paste, no package
Every component is a single file you copy into your project. No npm package to install or upgrade, and the code is yours to change.
Accessible by default
Built on Base UI primitives, so keyboard navigation, focus management and screen reader support come built in.
States already handled
Loading, success, error and empty states are part of the components, not something you wire up later.
Made for Next.js and Tailwind CSS
Works with the Next.js App Router, React 19, Tailwind CSS v4 and shadcn/ui. Theme it with CSS variables.
Frequently asked questions
What is Kryptonite UI?
Kryptonite UI is a free, open-source collection of modern, animated React components. You copy each component into your project instead of installing a package, then style and change it however you like.
Is Kryptonite UI free?
Yes. Kryptonite UI is free and open source under the MIT license, including for commercial projects.
Does it work with Next.js and Tailwind CSS?
Yes. The components are built for React and the Next.js App Router, and styled with Tailwind CSS v4. They also work in any React project that uses Tailwind CSS.
Do I need shadcn/ui to use it?
No, but it fits right in. Kryptonite UI follows the shadcn/ui approach and uses Base UI primitives, so it works alongside an existing shadcn/ui setup or on its own.
How do I add a component to my project?
Open the component in the docs, install the listed npm dependencies, and copy the component file into your project. Each docs page shows a live preview, the full source and usage examples.
Can I request a new component?
Yes. Post a request in the Community section. Others can upvote it, which helps decide what gets built next.
Help shape what we build next.
Join the community to share feedback, request the components you need, and show what you built. Reply to others and upvote the ideas you want most.