Kineto
Kineto is a React component library with built-in motion. Buttons respond to a
press, dialogs animate open, and charts animate in. Use the same presets in your
own components to keep those interactions consistent.
Browse components and live previews
Get started
In a React app with Tailwind CSS v4, install Kineto and Motion.
npm install kineto motion
Add the theme and register Kineto's compiled components in your Tailwind entry
file. Adjust both paths relative to that file.
@import "tailwindcss";
@import "../node_modules/kineto/theme.css";
@source "../node_modules/kineto/dist";
import { Button } from "kineto/button";
<Button variant="brand">Save changes</Button>
Use Kineto’s motion in your own components
Kineto exports shared springs, reveal variants, stagger helpers, and press
feedback. For example, use the same press feedback as Kineto’s Button.
import { motion } from "motion/react";
import { interaction, spring } from "kineto/motion-presets";
<motion.button whileTap={interaction.tap} transition={spring.snappy}>
Save changes
</motion.button>
For entrances, try fadeUp with initial="hidden" and animate="visible".
Wrap your app in <MotionConfig reducedMotion="user"> to respect the user's
reduced-motion preference for Motion animations.
Change the theme with CSS
Add your overrides after the theme import. Change --brand to update the accent
and --radius to adjust corner rounding across components. Color tokens use
plain HSL channels.
:root {
--brand: 260 70% 48%;
--radius: 0.5rem;
}
.dark {
--brand: 260 80% 74%;
}
Add the dark class to <html> to switch the page to dark mode. For inline
styles and chart props, import { tokens } from kineto/tokens. For example,
tokens.color.brand resolves to hsl(var(--brand)) and follows the same theme
overrides.
MIT License