An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Replace UI icons with Tabler
Yoshiki Miura949a7f3694f0
diff --git a/bun.lock b/bun.lockindex a7aa02b3..3885740c 100644--- a/bun.lock+++ b/bun.lock@@ -40,6 +40,7 @@"@supabase/auth-ui-shared": "^0.1.8","@supabase/ssr": "^0.6.1","@supabase/supabase-js": "^2.49.4",+ "@tabler/icons-react": "^3.44.0","@tailwindcss/typography": "^0.5.12","@upstash/redis": "^1.35.5","@vercel/analytics": "^1.5.0",@@ -58,14 +59,12 @@"jsdom": "^26.1.0","katex": "^0.16.10","langfuse-vercel": "^3.38.4",- "lucide-react": "^0.507.0","next": "^16.2.6","next-themes": "0.4.6","node-html-parser": "^6.1.13","postgres": "^3.4.5","react": "^19.2.0","react-dom": "^19.2.0",- "react-icons": "^5.0.1","react-textarea-autosize": "^8.5.3","redis": "^4.7.0","sonner": "^1.4.41",@@ -752,6 +751,10 @@"@swc/helpers": ["@swc/[email protected]", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="],+ "@tabler/icons": ["@tabler/[email protected]", "", {}, "sha512-Wn0AOZG9sg0L+bjfMqq4eNhC6pQjIrk94LvvWYNYkY8KH8wC3YILRzQlrnVJc4FUeMxH/AK97QsYCX35H3LndA=="],++ "@tabler/icons-react": ["@tabler/[email protected]", "", { "dependencies": { "@tabler/icons": "3.44.0" }, "peerDependencies": { "react": ">= 16" } }, "sha512-8+rvzBbVm/1Z3sG3x7GUNAaxIKxwgz8xaMhRs23nrCnMTKRFAhEC+82zAIFeAA0seXdrAGX5HFCkaLpGK2rVHg=="],+"@tailwindcss/node": ["@tailwindcss/[email protected]", "", { "dependencies": { "@ampproject/remapping": "^2.3.0", "enhanced-resolve": "^5.18.1", "jiti": "^2.4.2", "lightningcss": "1.30.1", "magic-string": "^0.30.17", "source-map-js": "^1.2.1", "tailwindcss": "4.1.11" } }, "sha512-yzhzuGRmv5QyU9qLNg4GTlYI6STedBWRE7NjxP45CsFYYq9taI0zJXZBMqIC/c8fViNLhmrbpSFS57EoxUmD6Q=="],"@tailwindcss/oxide": ["@tailwindcss/[email protected]", "", { "dependencies": { "detect-libc": "^2.0.4", "tar": "^7.4.3" }, "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.1.11", "@tailwindcss/oxide-darwin-arm64": "4.1.11", "@tailwindcss/oxide-darwin-x64": "4.1.11", "@tailwindcss/oxide-freebsd-x64": "4.1.11", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.11", "@tailwindcss/oxide-linux-arm64-gnu": "4.1.11", "@tailwindcss/oxide-linux-arm64-musl": "4.1.11", "@tailwindcss/oxide-linux-x64-gnu": "4.1.11", "@tailwindcss/oxide-linux-x64-musl": "4.1.11", "@tailwindcss/oxide-wasm32-wasi": "4.1.11", "@tailwindcss/oxide-win32-arm64-msvc": "4.1.11", "@tailwindcss/oxide-win32-x64-msvc": "4.1.11" } }, "sha512-Q69XzrtAhuyfHo+5/HMgr1lAiPP/G40OMFAnws7xcFEYqcypZmdW8eGXaOUIeOl1dzPJBPENXgbjsOyhg2nkrg=="],@@ -1664,8 +1667,6 @@"lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],- "lucide-react": ["[email protected]", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-XfgE6gvAHwAtnbUvWiTTHx4S3VGR+cUJHEc0vrh9Ogu672I1Tue2+Cp/8JJqpytgcBHAB1FVI297W4XGNwc2dQ=="],-"lz-string": ["[email protected]", "", { "bin": { "lz-string": "bin/bin.js" } }, "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ=="],"magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } }, "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA=="],@@ -1896,8 +1897,6 @@"react-dom": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.0" } }, "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ=="],- "react-icons": ["[email protected]", "", { "peerDependencies": { "react": "*" } }, "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw=="],-"react-is": ["[email protected]", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],"react-refresh": ["[email protected]", "", {}, "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ=="],diff --git a/components.json b/components.jsonindex 13f24bf4..eb87a2fd 100644--- a/components.json+++ b/components.json@@ -17,5 +17,5 @@"lib": "@/lib","hooks": "@/hooks"},- "iconLibrary": "lucide"+ "iconLibrary": "tabler"}diff --git a/components/account-settings-dialog.tsx b/components/account-settings-dialog.tsxindex a8d6bdb7..3a84ff3a 100644--- a/components/account-settings-dialog.tsx+++ b/components/account-settings-dialog.tsx@@ -5,7 +5,12 @@ import { useRouter } from 'next/navigation'import { useTheme } from 'next-themes'import type { User } from '@supabase/supabase-js'-import { Laptop, Moon, Sun, Trash2 } from 'lucide-react'+import {+ IconDeviceLaptop as Laptop,+ IconMoon as Moon,+ IconSun as Sun,+ IconTrash as Trash2+} from '@tabler/icons-react'import { toast } from 'sonner'import { deleteAccount } from '@/lib/actions/account'diff --git a/components/action-buttons.tsx b/components/action-buttons.tsxindex 4a96fa50..895c4f81 100644--- a/components/action-buttons.tsx+++ b/components/action-buttons.tsx@@ -3,13 +3,13 @@import { useEffect, useRef, useState } from 'react'import {- FileText,- HelpCircle,- LucideIcon,- Newspaper,- Scale,- Search-} from 'lucide-react'+ IconFileText as FileText,+ IconHelpCircle as HelpCircle,+ IconNews as Newspaper,+ IconScale as Scale,+ IconSearch as Search,+ type TablerIcon+} from '@tabler/icons-react'import { cn } from '@/lib/utils'@@ -19,7 +19,7 @@ import { Button } from './ui/button'const FOCUS_OUT_DELAY_MS = 100 // Delay to ensure focus has actually movedinterface ActionCategory {- icon: LucideIcon+ icon: TablerIconlabel: stringkey: string}diff --git a/components/app-sidebar.tsx b/components/app-sidebar.tsxindex 7b50f4eb..e867c06c 100644--- a/components/app-sidebar.tsx+++ b/components/app-sidebar.tsx@@ -1,7 +1,7 @@import { Suspense } from 'react'import Link from 'next/link'-import { Plus } from 'lucide-react'+import { IconPlus as Plus } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/chat-error.tsx b/components/chat-error.tsxindex 9c798601..794c6efb 100644--- a/components/chat-error.tsx+++ b/components/chat-error.tsx@@ -1,4 +1,4 @@-import { AlertCircle } from 'lucide-react'+import { IconAlertCircle as AlertCircle } from '@tabler/icons-react'import { toPublicErrorPayload } from '@/lib/errors/public-error'diff --git a/components/chat-panel.tsx b/components/chat-panel.tsxindex 739f578f..57f1ec3b 100644--- a/components/chat-panel.tsx+++ b/components/chat-panel.tsx@@ -11,7 +11,12 @@ import Textarea from 'react-textarea-autosize'import { useRouter } from 'next/navigation'import { UseChatHelpers } from '@ai-sdk/react'-import { ArrowUp, ChevronDown, MessageCirclePlus, Square } from 'lucide-react'+import {+ IconArrowUp as ArrowUp,+ IconChevronDown as ChevronDown,+ IconMessageCirclePlus as MessageCirclePlus,+ IconSquare as Square+} from '@tabler/icons-react'import { toast } from 'sonner'import { SHORTCUT_EVENTS } from '@/lib/keyboard-shortcuts'diff --git a/components/chat-share.tsx b/components/chat-share.tsxindex a6acbb9e..5610edd8 100644--- a/components/chat-share.tsx+++ b/components/chat-share.tsx@@ -2,7 +2,7 @@import { useState, useTransition } from 'react'-import { Share } from 'lucide-react'+import { IconShare as Share } from '@tabler/icons-react'import { toast } from 'sonner'import { shareChat } from '@/lib/actions/chat'diff --git a/components/collapsible-message.tsx b/components/collapsible-message.tsxindex 502b03af..fbfcd396 100644--- a/components/collapsible-message.tsx+++ b/components/collapsible-message.tsx@@ -1,4 +1,4 @@-import { ChevronDown } from 'lucide-react'+import { IconChevronDown as ChevronDown } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/current-user-avatar.tsx b/components/current-user-avatar.tsxindex 08f3d878..aacaf377 100644--- a/components/current-user-avatar.tsx+++ b/components/current-user-avatar.tsx@@ -1,6 +1,6 @@'use client'-import { User2 } from 'lucide-react'+import { IconUser as User2 } from '@tabler/icons-react'import { useCurrentUserImage } from '@/hooks/use-current-user-image'import { useCurrentUserName } from '@/hooks/use-current-user-name'diff --git a/components/drag-overlay.tsx b/components/drag-overlay.tsxindex 1cabad1d..7c83af4b 100644--- a/components/drag-overlay.tsx+++ b/components/drag-overlay.tsx@@ -1,5 +1,5 @@'use client'-import { UploadCloud } from 'lucide-react'+import { IconCloudUpload as UploadCloud } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/error-modal.tsx b/components/error-modal.tsxindex 12a1a063..2e0d5998 100644--- a/components/error-modal.tsx+++ b/components/error-modal.tsx@@ -2,7 +2,11 @@import Link from 'next/link'-import { AlertCircle, Clock, RefreshCw } from 'lucide-react'+import {+ IconAlertCircle as AlertCircle,+ IconClock as Clock,+ IconRefresh as RefreshCw+} from '@tabler/icons-react'import { Button } from '@/components/ui/button'import {diff --git a/components/external-link-items.tsx b/components/external-link-items.tsxindex f4e26838..965e40ac 100644--- a/components/external-link-items.tsx+++ b/components/external-link-items.tsx@@ -1,25 +1,30 @@'use client'-import { SiDiscord, SiGithub, SiX } from 'react-icons/si'import Link from 'next/link'+import {+ IconBrandDiscord as SiDiscord,+ IconBrandGithub as SiGithub,+ IconBrandX as SiX+} from '@tabler/icons-react'+import { DropdownMenuItem } from '@/components/ui/dropdown-menu'const externalLinks = [{name: 'X',href: 'https://x.com/morphic_ai',- icon: <SiX className="mr-2 h-4 w-4" />+ icon: <SiX className="size-4" />},{name: 'Discord',href: 'https://discord.gg/zRxaseCuGq',- icon: <SiDiscord className="mr-2 h-4 w-4" />+ icon: <SiDiscord className="size-4" />},{name: 'GitHub',href: 'https://git.new/morphic',- icon: <SiGithub className="mr-2 h-4 w-4" />+ icon: <SiGithub className="size-4" />}]diff --git a/components/feedback-modal.tsx b/components/feedback-modal.tsxindex d4fbad7e..335978e3 100644--- a/components/feedback-modal.tsx+++ b/components/feedback-modal.tsx@@ -2,7 +2,11 @@import { useState, useTransition } from 'react'-import { Frown, Meh, Smile } from 'lucide-react'+import {+ IconMoodNeutral as Meh,+ IconMoodSad as Frown,+ IconMoodSmile as Smile+} from '@tabler/icons-react'import { toast } from 'sonner'import { submitFeedback } from '@/lib/actions/site-feedback'diff --git a/components/fetch-section.tsx b/components/fetch-section.tsxindex b229f6ce..870a8659 100644--- a/components/fetch-section.tsx+++ b/components/fetch-section.tsx@@ -1,7 +1,12 @@'use client'import { UseChatHelpers } from '@ai-sdk/react'-import { AlertCircle, Check, ExternalLink, Globe } from 'lucide-react'+import {+ IconAlertCircle as AlertCircle,+ IconCheck as Check,+ IconExternalLink as ExternalLink,+ IconWorld as Globe+} from '@tabler/icons-react'import { toPublicErrorPayload } from '@/lib/errors/public-error'import { SearchResults as SearchResultsType } from '@/lib/types'diff --git a/components/file-upload-button.tsx b/components/file-upload-button.tsxindex 8fc26421..2c54db71 100644--- a/components/file-upload-button.tsx+++ b/components/file-upload-button.tsx@@ -2,7 +2,7 @@import { useRef, useState } from 'react'-import { Paperclip } from 'lucide-react'+import { IconPaperclip as Paperclip } from '@tabler/icons-react'import { toast } from 'sonner'import { cn } from '@/lib/utils'diff --git a/components/guest-menu.tsx b/components/guest-menu.tsxindex 46bc7f5e..b86844ba 100644--- a/components/guest-menu.tsx+++ b/components/guest-menu.tsx@@ -3,11 +3,11 @@import Link from 'next/link'import {- Link2,- LogIn,- Palette,- Settings2 // Or EllipsisVertical, etc.-} from 'lucide-react'+ IconLink as Link2,+ IconLogin as LogIn,+ IconPalette as Palette,+ IconSettings as Settings2+} from '@tabler/icons-react'import { Button } from '@/components/ui/button'import {@@ -29,21 +29,21 @@ export default function GuestMenu() {<DropdownMenu><DropdownMenuTrigger asChild><Button variant="ghost" size="icon" className="size-6">- <Settings2 className="size-4" /> {/* Choose an icon */}+ <Settings2 className="size-4" /><span className="sr-only">Open menu</span></Button></DropdownMenuTrigger><DropdownMenuContent className="w-56" align="end" forceMount><DropdownMenuItem asChild><Link href="/auth/login">- <LogIn className="mr-2 h-4 w-4" />+ <LogIn className="size-4" /><span>Sign In</span></Link></DropdownMenuItem><DropdownMenuSeparator /><DropdownMenuSub><DropdownMenuSubTrigger>- <Palette className="mr-2 h-4 w-4" />+ <Palette className="size-4" /><span>Theme</span></DropdownMenuSubTrigger><DropdownMenuSubContent>@@ -52,7 +52,7 @@ export default function GuestMenu() {</DropdownMenuSub><DropdownMenuSub><DropdownMenuSubTrigger>- <Link2 className="mr-2 h-4 w-4" />+ <Link2 className="size-4" /><span>Links</span></DropdownMenuSubTrigger><DropdownMenuSubContent>diff --git a/components/inspector/inspector-panel.tsx b/components/inspector/inspector-panel.tsxindex 84ade0a1..b824c95c 100644--- a/components/inspector/inspector-panel.tsx+++ b/components/inspector/inspector-panel.tsx@@ -1,6 +1,12 @@'use client'-import { LightbulbIcon, ListTodo, MessageSquare, Search, X } from 'lucide-react'+import {+ IconBulb as LightbulbIcon,+ IconListCheck as ListTodo,+ IconMessage as MessageSquare,+ IconSearch as Search,+ IconX as X+} from '@tabler/icons-react'import { Separator } from '@/components/ui/separator'import { TooltipProvider } from '@/components/ui/tooltip'diff --git a/components/message-actions.tsx b/components/message-actions.tsxindex 0c1d78f4..bf17176c 100644--- a/components/message-actions.tsx+++ b/components/message-actions.tsx@@ -3,7 +3,11 @@import { useMemo, useState } from 'react'import { UseChatHelpers } from '@ai-sdk/react'-import { Copy, ThumbsDown, ThumbsUp } from 'lucide-react'+import {+ IconCopy as Copy,+ IconThumbDown as ThumbsDown,+ IconThumbUp as ThumbsUp+} from '@tabler/icons-react'import { toast } from 'sonner'import { stripSpecBlocks } from '@/lib/render/strip-spec-blocks'diff --git a/components/model-selector-client.tsx b/components/model-selector-client.tsxindex bb2c7d7c..dc779278 100644--- a/components/model-selector-client.tsx+++ b/components/model-selector-client.tsx@@ -3,7 +3,10 @@import { useMemo, useState } from 'react'import Image from 'next/image'-import { Check, ChevronDown } from 'lucide-react'+import {+ IconCheck as Check,+ IconChevronDown as ChevronDown+} from '@tabler/icons-react'import {MODEL_SELECTION_COOKIE,diff --git a/components/question-confirmation.tsx b/components/question-confirmation.tsxindex 112cbe3a..ec3a2cad 100644--- a/components/question-confirmation.tsx+++ b/components/question-confirmation.tsx@@ -2,7 +2,11 @@import { useState } from 'react'-import { ArrowRight, Check, SkipForward } from 'lucide-react'+import {+ IconArrowRight as ArrowRight,+ IconCheck as Check,+ IconPlayerTrackNext as SkipForward+} from '@tabler/icons-react'import type { ToolPart } from '@/lib/types/ai'diff --git a/components/research-process-section.tsx b/components/research-process-section.tsxindex 7339d0e0..02f06655 100644--- a/components/research-process-section.tsx+++ b/components/research-process-section.tsx@@ -4,7 +4,10 @@ import { useCallback, useState } from 'react'import type { ReasoningPart } from '@ai-sdk/provider-utils'import { UseChatHelpers } from '@ai-sdk/react'-import { ChevronDown, Waypoints } from 'lucide-react'+import {+ IconChevronDown as ChevronDown,+ IconRoute as Waypoints+} from '@tabler/icons-react'import type { ToolPart, UIDataTypes, UIMessage, UITools } from '@/lib/types/ai'import type { DynamicToolPart } from '@/lib/types/dynamic-tools'diff --git a/components/retry-button.tsx b/components/retry-button.tsxindex 7b5b3467..bc2db8b8 100644--- a/components/retry-button.tsx+++ b/components/retry-button.tsx@@ -1,6 +1,6 @@'use client'-import { RotateCcw } from 'lucide-react'+import { IconRefresh as RotateCcw } from '@tabler/icons-react'import { Button } from './ui/button'diff --git a/components/search-mode-selector.tsx b/components/search-mode-selector.tsxindex 24b8996e..6977d73f 100644--- a/components/search-mode-selector.tsx+++ b/components/search-mode-selector.tsx@@ -2,7 +2,10 @@import { useEffect, useState, useSyncExternalStore } from 'react'-import { Check, ChevronDown } from 'lucide-react'+import {+ IconCheck as Check,+ IconChevronDown as ChevronDown+} from '@tabler/icons-react'import { SEARCH_MODE_CONFIGS } from '@/lib/config/search-modes'import { SearchMode } from '@/lib/types/search'diff --git a/components/search-results-image.tsx b/components/search-results-image.tsxindex a23a4c93..b19d27f0 100644--- a/components/search-results-image.tsx+++ b/components/search-results-image.tsx@@ -11,7 +11,7 @@ import {useState} from 'react'-import { Images } from 'lucide-react'+import { IconPhoto as Images } from '@tabler/icons-react'import { SearchResultImage } from '@/lib/types'diff --git a/components/search-section.tsx b/components/search-section.tsxindex 18737f96..ca9eb3bc 100644--- a/components/search-section.tsx+++ b/components/search-section.tsx@@ -1,7 +1,10 @@'use client'import { UseChatHelpers } from '@ai-sdk/react'-import { Check, Search as SearchIcon } from 'lucide-react'+import {+ IconCheck as Check,+ IconSearch as SearchIcon+} from '@tabler/icons-react'import { toPublicErrorPayload } from '@/lib/errors/public-error'import type { SearchResults as TypeSearchResults } from '@/lib/types'diff --git a/components/section.tsx b/components/section.tsxindex 1291d8a0..63c27401 100644--- a/components/section.tsx+++ b/components/section.tsx@@ -3,16 +3,16 @@import React from 'react'import {- BookCheck,- Check,- File,- FileText,- Film,- Image,- MessageCircleMore,- Repeat2,- Search-} from 'lucide-react'+ IconCheck as Check,+ IconChecklist as BookCheck,+ IconFile as File,+ IconFileText as FileText,+ IconMessageCircle as MessageCircleMore,+ IconMovie as Film,+ IconPhoto as Image,+ IconRepeat as Repeat2,+ IconSearch as Search+} from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/sidebar/chat-menu-item.tsx b/components/sidebar/chat-menu-item.tsxindex de3eadcb..854d5bca 100644--- a/components/sidebar/chat-menu-item.tsx+++ b/components/sidebar/chat-menu-item.tsx@@ -4,7 +4,10 @@ import { useCallback, useState, useTransition } from 'react'import Link from 'next/link'import { usePathname, useRouter } from 'next/navigation'-import { MoreHorizontal, Trash2 } from 'lucide-react'+import {+ IconDots as MoreHorizontal,+ IconTrash as Trash2+} from '@tabler/icons-react'import { toast } from 'sonner'import { deleteChat } from '@/lib/actions/chat'diff --git a/components/sidebar/clear-history-action.tsx b/components/sidebar/clear-history-action.tsxindex e605e3a6..e4ea2a88 100644--- a/components/sidebar/clear-history-action.tsx+++ b/components/sidebar/clear-history-action.tsx@@ -3,7 +3,10 @@import { useCallback, useState, useTransition } from 'react'import { useRouter } from 'next/navigation'-import { MoreHorizontal, Trash2 } from 'lucide-react'+import {+ IconDots as MoreHorizontal,+ IconTrash as Trash2+} from '@tabler/icons-react'import { toast } from 'sonner'import { clearChats } from '@/lib/actions/chat'diff --git a/components/theme-menu-items.tsx b/components/theme-menu-items.tsxindex 0c5b99df..924b126f 100644--- a/components/theme-menu-items.tsx+++ b/components/theme-menu-items.tsx@@ -2,7 +2,11 @@import { useTheme } from 'next-themes'-import { Laptop, Moon, Sun } from 'lucide-react'+import {+ IconDeviceLaptop as Laptop,+ IconMoon as Moon,+ IconSun as Sun+} from '@tabler/icons-react'import { DropdownMenuItem } from '@/components/ui/dropdown-menu'@@ -12,15 +16,15 @@ export function ThemeMenuItems() {return (<><DropdownMenuItem onClick={() => setTheme('light')}>- <Sun className="mr-2 h-4 w-4" />+ <Sun className="size-4" /><span>Light</span></DropdownMenuItem><DropdownMenuItem onClick={() => setTheme('dark')}>- <Moon className="mr-2 h-4 w-4" />+ <Moon className="size-4" /><span>Dark</span></DropdownMenuItem><DropdownMenuItem onClick={() => setTheme('system')}>- <Laptop className="mr-2 h-4 w-4" />+ <Laptop className="size-4" /><span>System</span></DropdownMenuItem></>diff --git a/components/todo-list-content.tsx b/components/todo-list-content.tsxindex af99cde3..a4c81124 100644--- a/components/todo-list-content.tsx+++ b/components/todo-list-content.tsx@@ -1,6 +1,9 @@'use client'-import { AlertCircle, Check } from 'lucide-react'+import {+ IconAlertCircle as AlertCircle,+ IconCheck as Check+} from '@tabler/icons-react'import { toPublicErrorPayload } from '@/lib/errors/public-error'import type { TodoItem } from '@/lib/types/ai'diff --git a/components/tool-badge.tsx b/components/tool-badge.tsxindex 014a0a63..ec2fbfb6 100644--- a/components/tool-badge.tsx+++ b/components/tool-badge.tsx@@ -1,6 +1,6 @@import React from 'react'-import { Link, Search } from 'lucide-react'+import { IconLink as Link, IconSearch as Search } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/tool-todo-display.tsx b/components/tool-todo-display.tsxindex 8b3c8147..e37233b0 100644--- a/components/tool-todo-display.tsx+++ b/components/tool-todo-display.tsx@@ -1,4 +1,7 @@-import { Check, ListTodo } from 'lucide-react'+import {+ IconCheck as Check,+ IconListCheck as ListTodo+} from '@tabler/icons-react'import { toPublicErrorPayload } from '@/lib/errors/public-error'import { Part, TodoItem } from '@/lib/types/ai'diff --git a/components/ui/carousel.tsx b/components/ui/carousel.tsxindex f5165734..94cb9202 100644--- a/components/ui/carousel.tsx+++ b/components/ui/carousel.tsx@@ -2,10 +2,13 @@import * as React from 'react'+import {+ IconArrowLeft as ArrowLeft,+ IconArrowRight as ArrowRight+} from '@tabler/icons-react'import useEmblaCarousel, {type UseEmblaCarouselType} from 'embla-carousel-react'-import { ArrowLeft, ArrowRight } from 'lucide-react'import { cn } from '@/lib/utils'diff --git a/components/ui/checkbox.tsx b/components/ui/checkbox.tsxindex c35317ec..e26e9ef4 100644--- a/components/ui/checkbox.tsx+++ b/components/ui/checkbox.tsx@@ -3,7 +3,7 @@import * as React from 'react'import * as CheckboxPrimitive from '@radix-ui/react-checkbox'-import { Check } from 'lucide-react'+import { IconCheck as Check } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/ui/command.tsx b/components/ui/command.tsxindex 6167a6d5..664430b1 100644--- a/components/ui/command.tsx+++ b/components/ui/command.tsx@@ -3,8 +3,8 @@import * as React from 'react'import { type DialogProps } from '@radix-ui/react-dialog'+import { IconSearch as Search } from '@tabler/icons-react'import { Command as CommandPrimitive } from 'cmdk'-import { Search } from 'lucide-react'import { cn } from '@/lib/utils'diff --git a/components/ui/dialog.tsx b/components/ui/dialog.tsxindex dede5b1e..d826c169 100644--- a/components/ui/dialog.tsx+++ b/components/ui/dialog.tsx@@ -3,7 +3,7 @@import * as React from 'react'import * as DialogPrimitive from '@radix-ui/react-dialog'-import { X } from 'lucide-react'+import { IconX as X } from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/ui/dropdown-menu.tsx b/components/ui/dropdown-menu.tsxindex 2f050d71..846a72f3 100644--- a/components/ui/dropdown-menu.tsx+++ b/components/ui/dropdown-menu.tsx@@ -3,7 +3,11 @@import * as React from 'react'import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'-import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react'+import {+ IconCheck as CheckIcon,+ IconChevronRight as ChevronRightIcon,+ IconCircle as CircleIcon+} from '@tabler/icons-react'import { cn } from '@/lib/utils/index'@@ -212,7 +216,7 @@ function DropdownMenuSubTrigger({data-slot="dropdown-menu-sub-trigger"data-inset={inset}className={cn(- 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}diff --git a/components/ui/password-input.tsx b/components/ui/password-input.tsxindex aa3b9eaa..958ae60e 100644--- a/components/ui/password-input.tsx+++ b/components/ui/password-input.tsx@@ -1,7 +1,7 @@import * as React from 'react'import { useState } from 'react'-import { Eye, EyeOff } from 'lucide-react'+import { IconEye as Eye, IconEyeOff as EyeOff } from '@tabler/icons-react'import { Input, InputProps } from '@/components/ui/input'diff --git a/components/ui/select.tsx b/components/ui/select.tsxindex bb37cd08..9480531f 100644--- a/components/ui/select.tsx+++ b/components/ui/select.tsx@@ -3,7 +3,11 @@import * as React from 'react'import * as SelectPrimitive from '@radix-ui/react-select'-import { Check, ChevronDown, ChevronUp } from 'lucide-react'+import {+ IconCheck as Check,+ IconChevronDown as ChevronDown,+ IconChevronUp as ChevronUp+} from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/ui/sheet.tsx b/components/ui/sheet.tsxindex daf8d9bd..acadf25b 100644--- a/components/ui/sheet.tsx+++ b/components/ui/sheet.tsx@@ -3,8 +3,8 @@import * as React from 'react'import * as SheetPrimitive from '@radix-ui/react-dialog'+import { IconX as X } from '@tabler/icons-react'import { cva, type VariantProps } from 'class-variance-authority'-import { X } from 'lucide-react'import { cn } from '@/lib/utils/index'diff --git a/components/ui/sidebar.tsx b/components/ui/sidebar.tsxindex fa10c9e9..023c6864 100644--- a/components/ui/sidebar.tsx+++ b/components/ui/sidebar.tsx@@ -3,8 +3,11 @@import * as React from 'react'import { Slot } from '@radix-ui/react-slot'+import {+ IconLayoutSidebar as SidebarIcon,+ IconLayoutSidebarFilled as SidebarFilledIcon+} from '@tabler/icons-react'import { cva, VariantProps } from 'class-variance-authority'-import { PanelLeft } from 'lucide-react'import { cn } from '@/lib/utils/index'@@ -286,7 +289,9 @@ const SidebarTrigger = React.forwardRef<React.ElementRef<typeof Button>,React.ComponentProps<typeof Button>>(({ className, onClick, ...props }, ref) => {- const { toggleSidebar } = useSidebar()+ const { isMobile, open, openMobile, toggleSidebar } = useSidebar()+ const isSidebarOpen = isMobile ? openMobile : open+ const Icon = isSidebarOpen ? SidebarFilledIcon : SidebarIconreturn (<Button@@ -301,7 +306,7 @@ const SidebarTrigger = React.forwardRef<}}{...props}>- <PanelLeft size={18} />+ <Icon size={18} /><span className="sr-only">Toggle Sidebar</span></Button>)diff --git a/components/ui/status-indicator.tsx b/components/ui/status-indicator.tsxindex 42a7839d..c5bba96c 100644--- a/components/ui/status-indicator.tsx+++ b/components/ui/status-indicator.tsx@@ -1,9 +1,9 @@import { ReactNode } from 'react'-import { LucideIcon } from 'lucide-react'+import { type TablerIcon } from '@tabler/icons-react'interface StatusIndicatorProps {- icon: LucideIcon+ icon: TablerIconiconClassName?: stringchildren?: ReactNode}diff --git a/components/uploaded-file-list.tsx b/components/uploaded-file-list.tsxindex 08ff1892..f3847ea9 100644--- a/components/uploaded-file-list.tsx+++ b/components/uploaded-file-list.tsx@@ -3,7 +3,7 @@import React from 'react'import Image from 'next/image'-import { Loader2, X } from 'lucide-react'+import { IconLoader2 as Loader2, IconX as X } from '@tabler/icons-react'import { UploadedFile } from '@/lib/types'diff --git a/components/user-menu.tsx b/components/user-menu.tsxindex bfc0fccc..df546d35 100644--- a/components/user-menu.tsx+++ b/components/user-menu.tsx@@ -4,7 +4,11 @@ import { useState } from 'react'import { useRouter } from 'next/navigation'import type { User } from '@supabase/supabase-js'-import { Link2, LogOut, UserRound } from 'lucide-react'+import {+ IconLink as Link2,+ IconLogout as LogOut,+ IconUserCircle as UserRound+} from '@tabler/icons-react'import { createClient } from '@/lib/supabase/client'@@ -100,7 +104,7 @@ export default function UserMenu({ user }: UserMenuProps) {<span>Account</span></DropdownMenuItem><DropdownMenuSub>- <DropdownMenuSubTrigger className="gap-2">+ <DropdownMenuSubTrigger><Link2 className="size-4" /><span>Links</span></DropdownMenuSubTrigger>diff --git a/components/user-text-section.tsx b/components/user-text-section.tsxindex 1eb2a480..3e7c023e 100644--- a/components/user-text-section.tsx+++ b/components/user-text-section.tsx@@ -3,7 +3,13 @@import React, { useCallback, useEffect, useRef, useState } from 'react'import TextareaAutosize from 'react-textarea-autosize'-import { Check, ChevronDown, ChevronUp, Copy, Pencil } from 'lucide-react'+import {+ IconCheck as Check,+ IconChevronDown as ChevronDown,+ IconChevronUp as ChevronUp,+ IconCopy as Copy,+ IconPencil as Pencil+} from '@tabler/icons-react'import { cn } from '@/lib/utils'diff --git a/components/video-result-grid.tsx b/components/video-result-grid.tsxindex 781e816b..d2f6288e 100644--- a/components/video-result-grid.tsx+++ b/components/video-result-grid.tsx@@ -2,7 +2,7 @@import Image from 'next/image'-import { PlusCircle } from 'lucide-react'+import { IconCirclePlus as PlusCircle } from '@tabler/icons-react'import { SerperSearchResultItem } from '@/lib/types'diff --git a/lib/config/search-modes.ts b/lib/config/search-modes.tsindex e446b62f..e586be8e 100644--- a/lib/config/search-modes.ts+++ b/lib/config/search-modes.ts@@ -1,4 +1,4 @@-import { Search } from 'lucide-react'+import { IconSearch as Search } from '@tabler/icons-react'import { SearchMode } from '@/lib/types/search'diff --git a/lib/render/components/shared.ts b/lib/render/components/shared.tsindex e9319a34..9bfec871 100644--- a/lib/render/components/shared.ts+++ b/lib/render/components/shared.ts@@ -1,4 +1,7 @@-import { ArrowRight, Repeat2 } from 'lucide-react'+import {+ IconArrowRight as ArrowRight,+ IconRepeat as Repeat2+} from '@tabler/icons-react'import { catalog } from '../catalog'diff --git a/package.json b/package.jsonindex 39217156..5bfb8e71 100644--- a/package.json+++ b/package.json@@ -52,6 +52,7 @@"@supabase/auth-ui-shared": "^0.1.8","@supabase/ssr": "^0.6.1","@supabase/supabase-js": "^2.49.4",+ "@tabler/icons-react": "^3.44.0","@tailwindcss/typography": "^0.5.12","@upstash/redis": "^1.35.5","@vercel/analytics": "^1.5.0",@@ -70,14 +71,12 @@"jsdom": "^26.1.0","katex": "^0.16.10","langfuse-vercel": "^3.38.4",- "lucide-react": "^0.507.0","next": "^16.2.6","next-themes": "0.4.6","node-html-parser": "^6.1.13","postgres": "^3.4.5","react": "^19.2.0","react-dom": "^19.2.0",- "react-icons": "^5.0.1","react-textarea-autosize": "^8.5.3","redis": "^4.7.0","sonner": "^1.4.41",