Tech
[程序员] seele——一个基于 Lit 的可扩展 Web Component 组件库,同时支持 Material You 风格
主要特色:
高度灵活:提供 mixin 和基础组件,既可以在其基础上快速编写你想要的组件,也可以直接使用提供的 Material You Expressive 样式组件
可访问性:遵守 APG ,支持无障碍与键盘操作
低兼容性 :尽量借助新的 Web 规范来优化库的行为与体积。比如使用了 Element Internals 内的 aria*Element ,使用后不再需要直接在 host 元素上设置 aria 属性,便于用户覆盖这样的属性
文档 & demo: https://tideover.cc/seele/docs/
Material You 的组件在: https://tideover.cc/seele/docs/m3/
GitHub: https://github.com/vollowx/seele
SourceHut: https://sr.ht/~lucaz/seele/
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX