InteractionKit

Button

A quiet primary action with tactile feedback and loading states.

Preview

Primary
Loading
Disabled

Usage

button.tsx
import "useintkit/styles.css";
import { Button } from "useintkit";

<Button onClick={handleContinue}>Continue</Button>
<Button loading>Continue</Button>
<Button disabled>Unavailable</Button>

Props

PropTypeDescription
size"sm" | "md" | "icon"Button size. Defaults to "md".
loadingbooleanShows progress and prevents activation while retaining focus.
disabledbooleanDisables the button using native behavior.
type"button" | "submit" | "reset"Defaults to "button".
classNamestringAdditional classes for the button.

Native button attributes and Motion props are forwarded. Use an accessible label for icon-only buttons.