开发者工具DEVELOPER TOOLS
ybouane/liquidglass
给网页元素加液态玻璃效果的前端小工具,能处理折射、模糊和色散。A WebGL library that adds realistic glass refraction and blur to any HTML element, for front-end developers building liquid glass UIs.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
给网页元素加上液态玻璃特效
让背景透过玻璃产生折射模糊
动态内容能实时更新玻璃下的画面
让元素浮动并带玻璃质感
Apply blur and refraction to any HTML element
Animate content with data-dynamic re-capturing every frame
Tune per-element settings via a JSON attribute
Invalidate specific areas to re-render only overlapping glasses
Import from a CDN or install from npm
上手GET STARTED
npm install @ybouane/liquidglass选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01安装时执行脚本Runs a script during installpackage.json
postinstall: patch-package
静态扫描发现安装时会执行 postinstall 脚本(patch-package),属中风险:安装依赖时可能运行额外代码,建议安装前先查看该脚本内容。未发现高风险项,但静态扫描不代表完整审计,使用前请自行确认。The static scan flagged a medium risk: the package runs a postinstall script that invokes patch-package. That means code executes during install — review the script before using it in production.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
04 OCT 202604 OCT 2026
增长GROWTH
+29.0%+29.0%
527 → 680 stars · 58 个快照527 → 680 stars · 58 snapshots
状态STATUS
持续活跃Active
质量 A-Quality A-
想在网页里做出类似 iOS 26 液态玻璃的折射、模糊和色散效果,按 README 的 Quick Start 几步就能在现有页面上跑起来。Created April 2026, with recent activity in September 2026.
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 1,
"ai-tools": 0,
"dev-tools": 0,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "motion"
},
"localRuntime": null,
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 1,
"agent": 0,
"media": 1,
"design": 9,
"browser": 0,
"devtool": 0,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}