PrimeBrickPrimeBrick
  • Docs
  • Contact
  • MIT License
  • Documentation
  • MCP Server
  • API Catalog
  • Services
  • Libraries
PrimeBrickPrimeBrick

© 2026 PrimeBrick. MIT License. v3.11.2

github
Backend
Frontend
    Developer Guide
      OverviewGetting startedUI stackApp shell & sidebarAuthentication & sessionsSystem settingsUI componentsUI patternsIcon ConventionsInput AnatomyField Hints & TooltipsButton Style StandardsEntity metadatai18n — Translations on the FrontendThe AI Tool Loop (caller-driven)Error HandlingComposables (use* hooks)
      Components
        Entity list tableComboSelectDynamicIconColorSelectorColorPickerAvatarPreviewEventCardCommandPaletteAppShellAppSidebarAppTopbarAppPageLayoutAppPageScaffoldAppPageBreadcrumbAppServerBannerBrowserClientInfoLangSelectThemeToggleSidebarAppLauncherSidebarHealthBadgeSidebarOrgSwitcherSidebarProfileMenuSidebarVersionBadgeButtonButton (async)FormPageLayoutFormLabelWithPriorityHelpPasswordChecklistChoiceboxDateWheelPickerEventToastLoadingBarMetadataLoadingJsonTableViewerNumberTickerStatCardToolbarDialogBorderedEntity Confirm DialogsSheet panelRFCErrorDialogLoginFormPasskeyButtonPasskeyEnrollmentAuthMethodsPromptDialogSessionExpiredDialogInputSliderSliderFieldSwitchFieldSelectableFieldsetBadgeValuesEditorTooltipFormPrimeFieldSmartRegexInput
      API Reference
Microservices
powered by Zudoku
Components

BrowserClientInfo

src/lib/components/BrowserClientInfo.svelte

Purpose

A read-only diagnostic panel that snapshots the browser environment on mount and renders a label/value list: resolved IANA timezone, preferred languages, resolved locale, calendar system, numbering system, hour cycle, operating system (name, version, architecture), and browser (name, version). OS and browser are parsed from navigator.userAgent; locale data comes from Intl.DateTimeFormat().resolvedOptions(). If detection throws, snapshot stays null and nothing renders. Used inside the shell versions/health sheet.

Origin

Custom — Primebrick-written. Uses $lib/browser-iana-timezone and $lib/i18n.

Usage

Default

Code
<BrowserClientInfo />

Inside a sheet

The component is designed for the shell.versions sheet content; it renders only after mount (browser-only detection).

Code
import BrowserClientInfo from '$lib/components/BrowserClientInfo.svelte'; <BrowserClientInfo />

Empty state

If Intl/navigator detection fails, snapshot is null and the panel renders nothing — no fallback values are fabricated.

Props

Full prop table: see API reference — browserclientinfo.

Key props: none — BrowserClientInfo takes no props.

Next steps

  • Component catalog
  • UI stack
  • API reference
Last modified on October 28, 2026
AppServerBannerLangSelect
On this page
  • Purpose
  • Origin
  • Usage
    • Default
    • Inside a sheet
    • Empty state
  • Props
  • Next steps