felipemenezes098

The Item one

Cards 11

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

'use client'

import { Button } from '@/components/ui/the-item-one'
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from '@/components/ui/dropdown-menu'
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemGroup,
  ItemMedia,
  ItemTitle,
} from '@/components/ui/item'
import {
  FileSpreadsheetIcon,
  FileTextIcon,
  ImageIcon,
  MoreHorizontalIcon,
} from 'lucide-react'

const files = [
  {
    icon: FileTextIcon,
    name: 'Q4-strategy.md',
    meta: 'Markdown · 14 KB',
  },
  {
    icon: FileSpreadsheetIcon,
    name: 'pricing.csv',
    meta: 'Spreadsheet · 3.2 KB',
  },
  {
    icon: ImageIcon,
    name: 'hero-cover.png',
    meta: 'Image · 1.4 MB',
  },
]

export default function Item14() {
  return (
    <ItemGroup className="w-full max-w-md">
      {files.map((file) => (
        <Item key={file.name} variant="outline">
          <ItemMedia variant="icon">
            <file.icon />
          </ItemMedia>
          <ItemContent>
            <ItemTitle>{file.name}</ItemTitle>
            <ItemDescription>{file.meta}</ItemDescription>
          </ItemContent>
          <ItemActions>
            <DropdownMenu>
              <DropdownMenuTrigger asChild>
                <Button variant="ghost" size="icon-sm" aria-label="More">
                  <MoreHorizontalIcon />
                </Button>
              </DropdownMenuTrigger>
              <DropdownMenuContent align="end">
                <DropdownMenuItem>Open</DropdownMenuItem>
                <DropdownMenuItem>Download</DropdownMenuItem>
                <DropdownMenuItem>Rename</DropdownMenuItem>
                <DropdownMenuSeparator />
                <DropdownMenuItem variant="destructive">
                  Delete
                </DropdownMenuItem>
              </DropdownMenuContent>
            </DropdownMenu>
          </ItemActions>
        </Item>
      ))}
    </ItemGroup>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    517
  • Split Hero With Image Cards

    Split Hero With Image Cards

    470
  • Editorial Image Hero

    Editorial Image Hero

    434
  • Scroll 01

    Scroll 01

    417
  • Real Estate Search Hero

    Real Estate Search Hero

    229
  • Editorial Hero

    Editorial Hero

    209
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    147

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198