'use client'; import React, { useState } from 'react'; import { Search, Grid, List, User, Plus, Image, Upload } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Card, CardContent } from '@/components/ui/card'; export default function Home() { const [activeView, setActiveView] = useState('library'); const [showDropzone, setShowDropzone] = useState(false); // Mock data for library items const mockItems = [ { id: 1, height: 200, width: 'normal' }, { id: 2, height: 280, width: 'wide' }, { id: 3, height: 160, width: 'normal' }, { id: 4, height: 240, width: 'normal' }, { id: 5, height: 200, width: 'normal' }, { id: 6, height: 300, width: 'wide' }, { id: 7, height: 180, width: 'normal' }, { id: 8, height: 220, width: 'normal' }, { id: 9, height: 260, width: 'wide' }, { id: 10, height: 190, width: 'normal' }, { id: 11, height: 240, width: 'normal' }, { id: 12, height: 200, width: 'wide' }, { id: 13, height: 220, width: 'normal' }, { id: 14, height: 180, width: 'normal' }, { id: 15, height: 260, width: 'normal' }, { id: 16, height: 200, width: 'wide' }, { id: 17, height: 240, width: 'normal' }, { id: 18, height: 180, width: 'normal' }, ]; // Mock data for collections const mockCollections = [ { id: 1, name: 'Brand Identity', itemCount: 47 }, { id: 2, name: 'UI Inspiration', itemCount: 132 }, { id: 3, name: 'Typography', itemCount: 28 }, { id: 4, name: 'Color Palettes', itemCount: 64 }, { id: 5, name: 'Illustration', itemCount: 89 }, { id: 6, name: 'Photography', itemCount: 156 }, { id: 7, name: 'Web Design', itemCount: 93 }, { id: 8, name: 'Motion Graphics', itemCount: 41 }, ]; const LibraryView = () => ( <> {/* Compact Horizontal Filters Toolbar */}
Drop your image to search
Drag and drop, or click to browse