felipemenezes098

The Item one

Component 7

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 { Switch } from '@/components/ui/switch'

const settings = [
  {
    title: 'Marketing emails',
    description: 'Product updates, tips, and announcements.',
    defaultChecked: true,
  },
  {
    title: 'Security alerts',
    description: 'Sign-in notifications and password changes.',
    defaultChecked: true,
  },
  {
    title: 'Weekly digest',
    description: 'A summary of your team activity every Monday.',
    defaultChecked: false,
  },
]

export default function Item15() {
  return (
    <ItemGroup className="w-full max-w-md">
      {settings.map((s) => (
        <Item key={s.title} variant="outline">
          <ItemContent>
            <ItemTitle>{s.title}</ItemTitle>
            <ItemDescription>{s.description}</ItemDescription>
          </ItemContent>
          <ItemActions>
            <Switch defaultChecked={s.defaultChecked} />
          </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