felipemenezes098

The Item one

Cards 5

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,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemGroup,
  ItemTitle,
} from '@/components/ui/item'
import { TrendingDownIcon, TrendingUpIcon } from 'lucide-react'

const stats = [
  {
    label: 'Revenue',
    value: '$48,210',
    delta: '+12.4% vs last month',
    trending: 'up' as const,
  },
  {
    label: 'New customers',
    value: '1,284',
    delta: '+4.1% vs last month',
    trending: 'up' as const,
  },
  {
    label: 'Churn',
    value: '2.1%',
    delta: '-0.3% vs last month',
    trending: 'down' as const,
  },
]

export default function Item17() {
  return (
    <ItemGroup className="w-full max-w-md">
      {stats.map((s) => {
        const Trend = s.trending === 'up' ? TrendingUpIcon : TrendingDownIcon
        return (
          <Item key={s.label} variant="outline">
            <ItemContent>
              <ItemDescription>{s.label}</ItemDescription>
              <ItemTitle className="text-lg">{s.value}</ItemTitle>
            </ItemContent>
            <ItemActions>
              <span className="text-muted-foreground inline-flex items-center gap-1 text-xs">
                <Trend className="size-3.5" />
                {s.delta}
              </span>
            </ItemActions>
          </Item>
        )
      })}
    </ItemGroup>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Split Hero With Image Cards

    Split Hero With Image Cards

    412
  • Editorial Image Hero

    Editorial Image Hero

    393
  • Scroll 01

    Scroll 01

    363
  • Real Estate Search Hero

    Real Estate Search Hero

    197
  • Editorial Hero

    Editorial Hero

    178
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    127

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    183
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18