L
LocalMode-AI/LocalMode/lib
Browser utilitiesui/lib/browser-utilsDependency-free browser helpers shared by LocalMode UI components: formatBytes, validateFile, readFileAsDataUrl, downloadBlob, the useObjectUrl hook, and the image/canvas ops getImageDimensions, applyMaskToImage, imageResultToDataUrl, downloadDataUrl plus the pure compositeMaskAlpha kernel. No AI, no @localmode dependency — so the components that use them install and compile in any React app.
Environment hooksui/lib/use-environmentDependency-free React hooks for browser/device capability detection, storage quota, and online/offline status (useCapabilities, useStorageQuota, useNetworkStatus). Read navigator only — no AI, no @localmode dependency — so the environment-aware components install and compile in any React app.
cn() utilityui/lib/utilsThe class-name merge helper (clsx + tailwind-merge) shared by all LocalMode UI components.

Select a component to view its code

Click on any item in the sidebar to get started

Select a component to view its information
Browser utilitiesui/lib/browser-utilsDependency-free browser helpers shared by LocalMode UI components: formatBytes, validateFile, readFileAsDataUrl, downloadBlob, the useObjectUrl hook, and the image/canvas ops getImageDimensions, applyMaskToImage, imageResultToDataUrl, downloadDataUrl plus the pure compositeMaskAlpha kernel. No AI, no @localmode dependency — so the components that use them install and compile in any React app.
Environment hooksui/lib/use-environmentDependency-free React hooks for browser/device capability detection, storage quota, and online/offline status (useCapabilities, useStorageQuota, useNetworkStatus). Read navigator only — no AI, no @localmode dependency — so the environment-aware components install and compile in any React app.
cn() utilityui/lib/utilsThe class-name merge helper (clsx + tailwind-merge) shared by all LocalMode UI components.

Select a component to view its code

Click on any item in the sidebar to get started

Select a component to view its information
3 items
GitHubRB@rbadillap