browser
eldoraui/browserFreeComponent
A browser SVG component.
Live preview
live · rendered by the registry
Rendered by eldoraui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://eldoraui.site/r/browser.jsonSource
1"use client"23import type React from "react"4import { useEffect, useState } from "react"5import Image from "next/image"6import {7 Battery,8 BookmarkIcon,9 ChevronLeft,10 ChevronRight,11 Download,12 Globe,13 History,14 Home,15 Lock,16 Maximize2,17 Minimize2,18 MoreHorizontal,19 Plus,20 RotateCcw,21 Search,22 Settings,23 Shield,24 Square,25 Star,26 StarOff,27 Volume2,28 Wifi,29 X,30} from "lucide-react"3132import { cn } from "@/lib/utils"33import { Badge } from "@/components/ui/badge"34import { Button } from "@/components/ui/button"35import { Card } from "@/components/ui/card"36import { Input } from "@/components/ui/input"37import { Separator } from "@/components/ui/separator"3839interface Tab {40 id: string41 title: string42 url: string43 favicon?: string44 isActive: boolean45 isLoading: boolean46}4748interface Bookmark {49 id: string50 title: string51 url: string52 favicon?: string53}5455interface HistoryItem {56 id: string57 title: string58 url: string59 timestamp: Date60 favicon?: string61}6263interface BrowserProps {64 image?: string65 initialUrl?: string66 initialTabs?: Partial<Tab>[]67 theme?: "light" | "dark" | "system"68 showWindowControls?: boolean69 showBookmarksBar?: boolean70 showStatusBar?: boolean71 className?: string72 enableTabManagement?: boolean73 enableBookmarks?: boolean74 enableHistory?: boolean75 enableDownloads?: boolean76 enableSettings?: boolean77 maxTabs?: number78 customBookmarks?: Bookmark[]79 customHistory?: HistoryItem[]80 onNavigate?: (url: string, tabId: string) => void81 onTabCreate?: (tab: Tab) => void82 onTabClose?: (tabId: string) => void83 onTabSwitch?: (tabId: string) => void84 onBookmarkToggle?: (url: string, isBookmarked: boolean) => void85 onDownload?: (url: string) => void86 renderContent?: (url: string, isLoading: boolean) => React.ReactNode87 customFavicons?: Record<string, string>88 openLinksInNewTab?: boolean89 autoFocusAddressBar?: boolean90 simulateLoading?: boolean91 loadingDuration?: number92}9394export function Browser({95 image = "/placeholder.svg",96 initialUrl = "https://eldoraui.site",97 initialTabs,98 showWindowControls = false,99 showBookmarksBar = false,100 showStatusBar = true,101 className,102 enableTabManagement = false,103 enableBookmarks = true,104 enableHistory = true,105 enableDownloads = true,106 enableSettings = true,107 maxTabs = 10,108 customBookmarks,109 customHistory,110 onNavigate,111 onTabCreate,112 onTabClose,113 onTabSwitch,114 onBookmarkToggle,115 onDownload,116 renderContent,117 autoFocusAddressBar = false,118// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from eldoraui
All 115 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| animated-badgeanimated-badge | eldoraui | Components | Free | 2 deps | |
| animated-frameworksanimated-frameworks | eldoraui | Components | Free | 2 deps | |
| animated-grid-patternanimated-grid-pattern | eldoraui | Components | Free | 3 deps | |
| animated-listanimated-list | eldoraui | Components | Free | 1 dep | |
| animated-shiny-buttonanimated-shiny-button | eldoraui | Components | Free | 1 dep | |
| blur-in-textblur-in-text | eldoraui | Components | Free | 3 deps | |
| card-flip-hovercard-flip-hover | eldoraui | Components | Free | 1 dep | |
| clerk-otpclerk-otp | eldoraui | Components | Free | 2 deps |
