Introduction
InteractionKit is a kit of React components that make your web apps feel more native and fluid. For SaaS products, consumer apps, and everything in between.
Natural gestures, smooth transitions, and responsive feedback, without building every interaction from scratch. Built with React and Motion to fit into your existing UI.
See component documentationInstallation
Install InteractionKit from npm to get started.
pnpm add useintkitUsage
Import a component and make it part of your app.
The gallery above uses ImageViewer. Import the stylesheet once, then use the component with a single image or in your own grid. No Tailwind setup required.
import "useintkit/styles.css";
import { ImageViewer } from "useintkit";
export default function Gallery() {
return (
<ImageViewer
src="/images/coast.jpg"
alt="A quiet coastline"
/>
);
}Button
A quiet primary action. A white surface in light mode, near-black in dark mode, with a soft edge, layered depth, and a little give when pressed.
import "useintkit/styles.css";
import { Button } from "useintkit";
<Button onClick={handleContinue}>Continue</Button>
<Button loading>Continue</Button>
<Button disabled>Unavailable</Button>Sheet
A focused surface for settings, forms, and small decisions. Drag the handle to dismiss it, or use the keyboard. Content scrolls independently of the gesture.
import "useintkit/styles.css";
import { Sheet } from "useintkit";
<Sheet
trigger="Open sheet"
title="Make it your own"
description="A few preferences for your app."
>
{/* Your content, forms, or actions */}
</Sheet>