{"id":50519516,"url":"https://github.com/AndrewPrifer/liquid-dom","last_synced_at":"2026-06-03T05:00:43.094Z","repository":{"id":360830940,"uuid":"1214155858","full_name":"AndrewPrifer/liquid-dom","owner":"AndrewPrifer","description":"Liquid Glass for the Web","archived":false,"fork":false,"pushed_at":"2026-05-28T02:31:08.000Z","size":9246,"stargazers_count":1860,"open_issues_count":2,"forks_count":88,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-05-28T04:15:31.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://liquid-dom-showcase.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewPrifer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-18T07:30:57.000Z","updated_at":"2026-05-28T03:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AndrewPrifer/liquid-dom","commit_stats":null,"previous_names":["andrewprifer/liquid-dom"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewPrifer/liquid-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewPrifer%2Fliquid-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewPrifer%2Fliquid-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewPrifer%2Fliquid-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewPrifer%2Fliquid-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewPrifer","download_url":"https://codeload.github.com/AndrewPrifer/liquid-dom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewPrifer%2Fliquid-dom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33848862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-03T03:00:35.674Z","updated_at":"2026-06-03T05:00:43.088Z","avatar_url":"https://github.com/AndrewPrifer.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Liquid DOM\n\n\u003cimg width=\"1796\" height=\"780\" alt=\"Liquid DOM Showcase 2026-05-21T20 25 18\" src=\"https://github.com/user-attachments/assets/c6283990-8a0e-48f6-865d-ca62f6ecbe49\" /\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg alt=\"Liquid DOM Showcase 2026-05-21T20 35 00@2x\" src=\"https://github.com/user-attachments/assets/f94be645-033a-4257-bfcc-eac718b1f16d\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg alt=\"Liquid DOM Showcase 2026-05-21T20 35 14@2x\" src=\"https://github.com/user-attachments/assets/dbdce5f1-1457-4f56-9131-ed97c0a3acea\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg alt=\"Liquid DOM Showcase 2026-05-21T20 35 32@2x\" src=\"https://github.com/user-attachments/assets/dc4dd675-0dc0-4a84-bd7b-331ed951d8ce\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg alt=\"Liquid DOM Showcase 2026-05-21T20 36 01@2x\" src=\"https://github.com/user-attachments/assets/d1b0706e-3279-4946-bd47-e874db9f8a22\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg alt=\"Liquid DOM Showcase 2026-05-21T20 35 43@2x\" src=\"https://github.com/user-attachments/assets/c2ca03b0-607e-478d-a61a-4c4146feb1e1\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\nLiquid DOM is a monorepo for WebGPU liquid-glass rendering, React bindings, Three.js integration, React Three Fiber integration, and the renderer-agnostic layout engine used by the higher-level APIs.\n\nThe packages are split by integration layer. Use the lowest-level package that matches the renderer you own, or the higher-level React packages when you want declarative layout.\n\n## Packages\n\n| Package | Purpose | Use it when |\n| --- | --- | --- |\n| [`@liquid-dom/core`](./packages/core) | Imperative DOM-backed scene graph, WebGPU renderer, reusable glass core, and layout classes. | You want direct control over the scene graph or you are building an adapter for another renderer. |\n| [`@liquid-dom/react`](./packages/react) | React 19 bindings for the layout and glass APIs. | You want to describe glass UI in React and let `LiquidCanvas` own the canvas, or you need a headless scene for another renderer. |\n| [`@liquid-dom/three`](./packages/three) | Adapter for compositing liquid glass over Three's WebGPU renderer. | You already render a Three WebGPU scene and want liquid glass as a post-composited layer. |\n| [`@liquid-dom/r3f`](./packages/r3f) | React Three Fiber bridge built on `@liquid-dom/three` and `@liquid-dom/react`. | You use R3F with Three's WebGPU renderer and want React liquid-glass UI over the scene. |\n| [`@liquid-dom/layout`](./packages/layout) | Renderer-agnostic layout engine. | You need SwiftUI-style measurement and placement without any renderer dependency. |\n\n## Package Relationships\n\n`@liquid-dom/layout` is independent. `@liquid-dom/core` uses it for the layout subpath but also exposes a lower-level imperative scene graph and WebGPU renderer. `@liquid-dom/react` wraps the layout classes from `@liquid-dom/core/layout` in React components. `@liquid-dom/three` hosts the reusable WebGPU core inside a Three WebGPU renderer. `@liquid-dom/r3f` combines the React and Three packages for React Three Fiber.\n\n## Installation\n\nInstall the package that matches your integration target. Package-specific READMEs list the full install command including peer dependencies.\n\n```sh\npnpm add @liquid-dom/core\npnpm add @liquid-dom/react react react-dom\npnpm add @liquid-dom/three @liquid-dom/core three\npnpm add @liquid-dom/r3f @liquid-dom/react @react-three/fiber react react-dom three\npnpm add @liquid-dom/layout\n```\n\n## Repository Development\n\n```sh\npnpm install\npnpm -r build\npnpm --filter @liquid-dom/layout test\npnpm --filter @liquid-dom/core test\npnpm --filter @liquid-dom/react test\n```\n\nUse the package READMEs for package-level build and test commands.\n\n## Browser And Runtime Requirements\n\nThe liquid-glass renderer requires WebGPU. DOM-backed `Html` content also requires the experimental HTML-in-Canvas API, which is currently available only behind Chrome's Canvas Draw Element flag: `chrome://flags/#canvas-draw-element`. The implementation uses `\u003ccanvas layoutsubtree\u003e` and canvas paint events to copy live DOM content into GPU textures.\n\nThe DOM and React packages can build scene graphs in any browser-like environment, but rendering requires a browser with `navigator.gpu`; rendering DOM-backed content additionally requires the Chrome flag above. Three integrations require Three's WebGPU renderer, not WebGLRenderer.\n\nReference: [WICG HTML-in-Canvas](https://wicg.github.io/html-in-canvas/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndrewPrifer%2Fliquid-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndrewPrifer%2Fliquid-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndrewPrifer%2Fliquid-dom/lists"}