ai 2

Media Item

Component 2

About

A set of styled list-row components (thumbnail, cover, video, badge, and stacked variants) for showing a media preview with a title, description, and trailing icon.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Media Item to your project and fits it to your theme.

Code

How Media Item is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  ThumbItem,
  CoverItem,
  VideoItem,
  BadgeItem,
  StackItem,
} from "@/components/ui/item-media";

export default function ItemMediaDemo() {
  return (
    <div className="w-full max-w-sm space-y-1">
      <ThumbItem />
      <CoverItem />
      <VideoItem />
      <BadgeItem />
      <StackItem />
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    31
  • Styled Toggle Switches

    Styled Toggle Switches

    14
  • Styled Progress Bars

    Styled Progress Bars

    14
  • Styled Badges

    Styled Badges

    10
  • OTP Pin Input

    OTP Pin Input

    8
  • Particle Toggles

    Particle Toggles

    7
  • Input Group Glass

    Input Group Glass

    6
  • File Input

    File Input

    6