felipemenezes098

The Item one

Component 2

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 { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
import { Button } from '@/components/ui/the-item-one'
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemGroup,
  ItemMedia,
  ItemTitle,
} from '@/components/ui/item'

const users = [
  {
    name: 'Sarah Chen',
    role: 'Product designer',
    initials: 'SC',
    avatar:
      'https://cdn.21st.dev/assets/mirror/03/039131cd23196f79dda2cce8c0ed9e6a49832a0d73e33bbcae952cd528fe6b0f.jpg',
  },
  {
    name: 'Marcus Lee',
    role: 'Engineering manager',
    initials: 'ML',
    avatar:
      'https://cdn.21st.dev/assets/mirror/9f/9f697a8fcb60a85ac182a832a9dcc35bd8700da190fb8e393cb7129856a4ee5e.jpg',
  },
  {
    name: 'Priya Patel',
    role: 'Data scientist',
    initials: 'PP',
    avatar:
      'https://cdn.21st.dev/assets/mirror/32/32ca3771d3e6dc40c332111e84c7480e9f1d28ba7a1b47aa8e35657c8e9f5588.jpg',
  },
]

export default function Item12() {
  return (
    <ItemGroup className="w-full max-w-md">
      {users.map((user) => (
        <Item key={user.name} variant="outline">
          <ItemMedia variant="image">
            <Avatar className="size-full rounded-sm">
              <AvatarImage src={user.avatar} alt="" />
              <AvatarFallback>{user.initials}</AvatarFallback>
            </Avatar>
          </ItemMedia>
          <ItemContent>
            <ItemTitle>{user.name}</ItemTitle>
            <ItemDescription>{user.role}</ItemDescription>
          </ItemContent>
          <ItemActions>
            <Button variant="outline" size="sm">
              Follow
            </Button>
          </ItemActions>
        </Item>
      ))}
    </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