Skip to main content

Item

A list row with media, title, description and actions, a staggered entrance, and a spring highlight that glides between rows.

Customize

DensityDefault
Stagger (ms)36
Speed1

Installation

npx shadcn@latest add @kinetic/item

Usage

Group rows in ItemGroup. Each Item holds ItemMedia, ItemContent and ItemActions.

import { ShieldCheckIcon } from "@heroicons/react/24/outline";
import { Button } from "@/components/kinetic/ui/button";
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemGroup,
  ItemMedia,
  ItemTitle,
} from "@/components/kinetic/ui/item";

export function SecurityList() {
  return (
    <ItemGroup>
      <Item variant="outline">
        <ItemMedia variant="icon">
          <ShieldCheckIcon />
        </ItemMedia>
        <ItemContent>
          <ItemTitle>Two-factor authentication</ItemTitle>
          <ItemDescription>Protect your account with a second step.</ItemDescription>
        </ItemContent>
        <ItemActions>
          <Button variant="outline" size="sm">Enable</Button>
        </ItemActions>
      </Item>
    </ItemGroup>
  );
}

Variants and sizes

variant is default, outline or muted; size is default or sm.

<Item variant="muted" size="sm">...</Item>

Media

ItemMedia takes default (unboxed), icon (32 px frame) or image (40 px clipped image).

<ItemMedia variant="image">
  <img src="/covers/album.png" alt="" />
</ItemMedia>

Use asChild to render the row as a link while keeping its styles and highlight.

<Item asChild>
  <a href="/settings/audit">
    <ItemContent>
      <ItemTitle>Audit log</ItemTitle>
    </ItemContent>
  </a>
</Item>

Separators

Place ItemSeparator between rows. ItemHeader and ItemFooter add rows above and below the main content.

<ItemSeparator />

Motion preferences

On ItemGroup, animated, staggerMs and speed control the entrance and the highlight glide. Reduced motion shows rows at once.

API Reference

ItemGroup

Zero-dependency role="list" container orchestrating capped staggered row entrance (220ms, max 180ms stagger) and a shared Euler spring hover/focus-visible highlight pill.

PropTypeDefaultDescription
animatedbooleantrueEnables capped staggered entrance across direct Item rows on mount.
staggerMsnumber36Delay in milliseconds between consecutive rows on mount (clamped 0-120, capped at 180ms total).
speednumber1Speed multiplier for entrance stagger and Euler spring highlight glide (clamped 0.25-4).

Item / itemVariants

Structured list row with surface variants, compact density, tactile press scale on interactive rows, fine-pointer hover tracking, and zero-dependency asChild composition.

PropTypeDefaultDescription
variant"default" | "outline" | "muted""default"Selects transparent, bordered, or muted row surface.
size"default" | "sm""default"Adjusts row padding and horizontal gap.
asChildbooleanfalseDelegates styling, refs, and hover/focus indicator events onto a single child element.

ItemMedia / itemMediaVariants

Leading icon or image container aligned cleanly with multi-line titles and descriptions.

PropTypeDefaultDescription
variant"default" | "icon" | "image""default"Styles unboxed icon, 32x32 muted icon frame, or 40x40 clipped image container.

ItemSeparator / ItemContent / ItemTitle / ItemDescription / ItemActions / ItemHeader / ItemFooter

Horizontal or vertical separator, text layout slots, trailing actions with subtle hover/focus-visible nudge, and full-width header/footer rows.

PropTypeDefaultDescription
orientation (ItemSeparator)"horizontal" | "vertical""horizontal"Divider direction inside ItemGroup or between inline slots.

Notes

Use Item for general settings rows, activity lists, and confirmation prompts; for file/image attachments inside chat UIs, use Attachment instead.