Skip to content

Components

Copy, paste, animate

Every component is self-contained source you own. Open one to see a live preview, the props, and a one-click copy of the exact file that ships.

Design tokens

Set up the Kineto theme in your Tailwind CSS entry file. Adjust the paths relative to that file.

css
@import "tailwindcss";
@import "../node_modules/kineto/theme.css";
@source "../node_modules/kineto/dist";

Use a CSS variable or import the corresponding JavaScript token for inline styles and charts. Both follow light mode, dark mode, and overrides on a parent element.

css
.docs-link { color: hsl(var(--link)); }
tsx
import { tokens } from "kineto/tokens";

<a href="/docs" style={{ color: tokens.color.link }}>Read the docs</a>

Primitives

Accordion

Radix accordion whose content reveals via a Motion height animation.

Aspect Ratio

Locks children to a fixed aspect ratio (e.g. 16/9 media embeds).

Avatar

Radix avatar with image + fallback, plus a stacked AvatarGroup with sized +N overflow and a names tooltip.

Badge

Soft status label with semantic variants and an optional leading dot.

Bento Grid

Asymmetric grid of tiles that span varied columns and rows — pair BentoGrid with BentoCard cells.

Button

cva-driven button with the library's standardized hover-lift and tap-scale presets.

Button Group

Visually joins a row of outline Buttons with shared borders and rounded ends.

Card

Content surface with an opt-in hover lift and the usual header/content/footer parts.

Checkbox

Radix checkbox with a springy check, indeterminate state, and the brand fill.

Code Block

Filename tab, copy button, line numbers, and line highlighting. Bring your own highlighter (pass pre-highlighted HTML) — none is bundled.

Collapsible

Single-section expand/collapse with Motion-driven height — Accordion's lighter cousin.

Color Picker

Swatch palette in a popover, plus a native picker and hex input for custom colors.

Combobox

Search and select one option with Combobox or toggle several with MultiCombobox.

Confetti

Celebration burst for success moments (checkout, onboarding done). Self-contained Motion particles — no canvas, no extra dependency. Honors reduced motion.

Container

Centered, padded content column with width presets — the component form of the .container utility.

Context Menu

Right-click menu with the same item primitives as Dropdown Menu, animated from the pointer.

Copy Button

The little copy button with the check-mark flip — done once, consistently.

Dialog

Radix dialog with a blurred animated overlay and a spring scale/fade panel.

Dock

macOS-style dock — icons magnify as the pointer nears them. Pair Dock with DockItem cells.

Dropdown Menu

Radix dropdown menu with items, labels, separators, and an animated panel.

Featured Icon

An icon in a tinted container — sizes, square/circle shapes, and semantic colors.

Field

Connects a control to its label, help text, and error. Use FieldSet and FieldLegend to group related controls.

Flex

The general flexbox wrapper — direction, alignment, justification, wrapping, and a gap from the shared scale.

Form

Build and validate forms with React Hook Form. Import useForm, useFormContext, useController, useWatch, useFormState, and useFieldArray from kineto/form.

Gradient Border

A masked gradient hairline around any content, with an optional rotating sweep.

Gradient Text

Display type filled with the theme's gradient ramp, optionally panning on a loop.

Grid

CSS grid wrapper with a column count and a gap from the shared scale. Layer responsive cols via className.

Hover Card

Card that appears on hover — ideal for previews and profile chips.

Inline Edit

Click-to-edit text that swaps to an input in place and saves optimistically — rolls back if the save rejects. Removes a class of one-off edit modals.

Input

Themed text input with a focus ring; pairs with Label.

Input Group

Add adornments to a text input or a footer to a textarea.

Kbd

Canonical keyboard-key display (⌘ K). Compose several for a chord; pairs with the Command menu.

Masonry

Variable-height grid via CSS columns — the organic cousin of the fixed-cell Bento Grid. Items of any height tile without gaps.

Menubar

Desktop-style menu bar with File/Edit-style menus and animated panels.

Navigation Menu

Accessible site nav with dropdown panels that share a sliding viewport.

Notification Center

A bell trigger with an unread dot opens a scrollable list of recent items — activity, mentions, or a "what's new" changelog. Composes Popover + ScrollArea + Badge + RelativeTime.

Progress

Progress bar that fills on scroll-into-view, with an optional striped indicator.

Radio Group

Radix radio group with a springy selected dot.

Rating

Interactive star rating with hover preview and a springy active star.

Relative Time

"2h ago" that auto-updates as time passes and reveals the absolute timestamp on hover. Formatting lives in the shared time system.

Resizable

Split panes with a draggable handle — built on react-resizable-panels.

Scroll Area

Custom-styled scrollbars plus fade-edge masks that appear only on edges with more content. A quiet upgrade for any overflowing region.

Segmented Control

Pill toggle where the active background glides between options via a layoutId.

Select

Radix select with an animated, popper-positioned panel.

Separator

Radix separator for horizontal or vertical dividers.

Skeleton

Loading placeholder with a Motion shimmer that stops under reduced motion.

Slider

Radix slider with brand range fill; supports single value and ranges (multiple thumbs).

Social Button

OAuth buttons with brand marks for Google, Apple, GitHub, and X.

Spacer

Explicit whitespace from the shared scale — fixed by size, or grow to push items apart in a flex run.

Stack

Stack children in a line with a consistent gap — vertical by default. Replaces ad-hoc space-y / mt utilities.

Status Dot

Online/away/busy/offline presence indicator — the natural complement to Avatar.

Switch

Radix switch with a Motion-driven thumb that springs between states.

Tabs

Radix tabs with a shared active indicator that glides between triggers.

Tag

Compact chip with color variants, an optional dot, and a removable close button.

Textarea

Themed multi-line text input matching the Input styling.

Theme Switcher

System / light / dark tri-state that drives the .dark class and persists to localStorage, with a View-Transitions circular reveal from the clicked control. Exports a useTheme hook too.

Toggle

A button with a persistent pressed state.

Toggle Group

A set of toggle buttons with single or multiple selection and arrow-key navigation.

Tooltip

Radix tooltip that springs out from its trigger. Provider is embedded — no wiring.

Truncate

Clamps text to N lines and shows a tooltip with the full value — but only when actually truncated.

Typography

Text and Title apply the shared type styles while letting you choose the HTML element.

Verification Code Input

One-time-code input with auto-advance, backspace, arrow keys, and paste distribution.

Application

Alert

Inline message with semantic variants, an icon, and an optional dismiss that animates out.

Alert Dialog

A modal confirmation with separate cancel and confirm actions.

Breadcrumbs

Accessible breadcrumb trail with chevron separators and an optional leading icon.

Calendar

react-day-picker v9, themed to the tokens with single/range selection.

Carousel

Embla-powered carousel with prev/next, dots, drag/swipe, and responsive item sizing.

Command Menu

cmdk command palette with fuzzy search, groups, and shortcuts; also as a ⌘K dialog.

Content Divider

A rule with an optional centered label (e.g. an “or” separator).

Dashboard Showcase

Composed dashboard demo — sidebar, KPI cards, charts, and a deals table in one frame.

Date Picker

A button that opens the Calendar in a popover and shows the formatted date.

Drawer

An animated panel that slides in from any edge with a blurred overlay.

Empty State

Centered placeholder with a featured icon, title, description, and an action.

File Uploader

Drag-and-drop dropzone with click-to-browse and an animated file list.

Logo Cloud

Social-proof strip of partner logos that reveal in sequence; grayscale until hover.

Page Header

App page heading with title, description, an actions slot, and an optional breadcrumb.

Pagination

Numbered pagination with prev/next and smart ellipsis truncation.

Popover

Radix popover with an animated panel that scales from its trigger origin.

Progress Steps

Horizontal or vertical stepper with complete / current / upcoming states.

Sheet

An edge panel with a scrollable body for details, forms, and filters.

Sidebar

Collapsible nav with sections, active indicator, optional brand and footer slots.

Spinner

Indeterminate loading spinner in three sizes, animated with Motion.

Toast

Provider-free toast system: render <Toaster /> once and call toast() from anywhere.

Toolbar

Groups buttons, links, and toggles with arrow-key navigation.

Tree View

Recursive expand/collapse tree with Motion height reveal and rotating chevrons.

Data Display

Charts