import Image from "next/image" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, } from "@/registry/bases/base/ui/item" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function ItemExample() { return ( ) } function DefaultVariantItems() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function OutlineVariantItems() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function MutedVariantItems() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function DefaultVariantItemsSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function OutlineVariantItemsSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function MutedVariantItemsSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function DefaultVariantItemsExtraSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function OutlineVariantItemsExtraSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function MutedVariantItemsExtraSmall() { return ( Title Only Title + Button Title + Description This is a description that provides additional context. Title + Description + Button This item includes a title, description, and action button. Media + Title Media + Title + Button Media + Title + Description This item includes media, title, and description. Media + Title + Description + Button Complete item with all components: media, title, description, and button. Multiple Actions Item with multiple action buttons in the actions area. ) } function DefaultLinkItems() { return ( }> Title Only (Link) }> Title + Description (Link) Clickable item with title and description. }> Media + Title (Link) }> Media + Title + Description (Link) Complete link item with media, title, and description. }> With Actions (Link) Link item that also has action buttons. ) } function OutlineLinkItems() { return ( }> Title Only (Link) }> Title + Description (Link) Clickable item with title and description. }> Media + Title (Link) }> Media + Title + Description (Link) Complete link item with media, title, and description. }> With Actions (Link) Link item that also has action buttons. ) } function MutedLinkItems() { return ( }> Title Only (Link) }> Title + Description (Link) Clickable item with title and description. }> Media + Title (Link) }> Media + Title + Description (Link) Complete link item with media, title, and description. }> With Actions (Link) Link item that also has action buttons. ) } function DefaultItemGroup() { return ( Item 1 First item in the group. Item 2 Second item in the group. Item 3 Third item in the group. ) } function OutlineItemGroup() { return ( Item 1 First item with icon. Item 2 Second item with icon. Item 3 Third item with icon. ) } function MutedItemGroup() { return ( Item 1 First item in muted group. Item 2 Second item in muted group. Item 3 Third item in muted group. ) } function ItemSeparatorExample() { return ( Inbox View all incoming messages. Sent View all sent messages. Drafts View all draft messages. Archive View archived messages. ) } function ItemHeaderExamples() { return ( Design System Component Library A comprehensive collection of reusable UI components for building consistent interfaces. Marketing Campaign Analytics Track performance metrics and engagement rates across all marketing channels. Engineering API Documentation Complete reference guide for all available endpoints and authentication methods. ) } function ItemFooterExamples() { return ( Quarterly Report Q4 2024 Financial overview including revenue, expenses, and growth metrics for the fourth quarter. Last updated 2 hours ago User Research Findings Insights from interviews and surveys conducted with 50+ users across different demographics. Created by Sarah Chen Product Roadmap Planned features and improvements scheduled for the next three months. 12 comments ) } function ItemHeaderAndFooterExamples() { return ( Team Project Website Redesign Complete overhaul of the company website with modern design principles and improved user experience. Updated 5 minutes ago Client Work Mobile App Development Building a cross-platform mobile application for iOS and Android with React Native. Status: In Progress Documentation API Integration Guide Step-by-step instructions for integrating third-party APIs with authentication and error handling. Category: Technical • 3 attachments ) } function DefaultVariantItemsWithImage() { return ( Project Project Dashboard Overview of project settings and configuration. Document Document A document with metadata displayed. File File Attachment Complete file with image, title, description, and action button. ) } function OutlineVariantItemsWithImage() { return ( Project Project Dashboard Overview of project settings and configuration. Document Document A document with metadata displayed. File File Attachment Complete file with image, title, description, and action button. ) } function OutlineVariantItemsWithImageSmall() { return ( Project Project Dashboard Overview of project settings and configuration. Document Document A document with metadata displayed. File File Attachment Complete file with image, title, description, and action button. ) } function OutlineVariantItemsWithImageExtraSmall() { return ( Project Project Dashboard Document Document File File Attachment ) } function MutedVariantItemsWithImage() { return ( Project Project Dashboard Overview of project settings and configuration. Document Document A document with metadata displayed. File File Attachment Complete file with image, title, description, and action button. ) }