felipemenezes098

The Item one

Component 4

About

Here is The Item components

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

Code

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

Usage.tsx

import {
  Item,
  ItemContent,
  ItemDescription,
  ItemFooter,
  ItemGroup,
  ItemMedia,
  ItemSeparator,
  ItemTitle,
} from '@/components/ui/item'
import {
  CheckCircle2Icon,
  GitCommitIcon,
  RocketIcon,
  UserPlusIcon,
} from 'lucide-react'

const events = [
  {
    icon: GitCommitIcon,
    title: 'Marcus pushed 3 commits',
    description: 'main · feat: split billing service',
    time: '2m ago',
  },
  {
    icon: UserPlusIcon,
    title: 'Priya joined the workspace',
    description: 'Invited by Sarah Chen',
    time: '1h ago',
  },
  {
    icon: CheckCircle2Icon,
    title: 'Release v2.4.0 marked stable',
    description: 'All canary metrics green for 24h',
    time: '4h ago',
  },
  {
    icon: RocketIcon,
    title: 'Deploy succeeded',
    description: 'production · 1m 42s',
    time: 'Yesterday',
  },
]

export default function Item19() {
  return (
    <ItemGroup className="w-full max-w-md">
      {events.map((e, index) => (
        <div key={e.title}>
          <Item>
            <ItemMedia variant="icon">
              <e.icon />
            </ItemMedia>
            <ItemContent>
              <ItemTitle>{e.title}</ItemTitle>
              <ItemDescription>{e.description}</ItemDescription>
            </ItemContent>
            <ItemFooter className="basis-auto">
              <span className="text-muted-foreground text-xs">{e.time}</span>
            </ItemFooter>
          </Item>
          {index < events.length - 1 && <ItemSeparator />}
        </div>
      ))}
    </ItemGroup>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    930
  • Editorial Collage Hero

    Editorial Collage Hero

    430
  • Split Hero With Image Cards

    Split Hero With Image Cards

    402
  • Editorial Image Hero

    Editorial Image Hero

    388
  • Scroll 01

    Scroll 01

    341
  • Real Estate Search Hero

    Real Estate Search Hero

    190
  • Editorial Hero

    Editorial Hero

    173
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    123