WeUI for 小程序 is a UI library designed by WeChat's official design team for WeChat mini programs.
The library solves the problem of maintaining visual consistency between mini program interfaces and WeChat's native experience. It provides a foundation of styled components that match WeChat's design language, allowing developers to build interfaces that feel native to the platform. The library includes essential UI elements such as buttons, cells, dialogs, progress indicators, toasts, articles, action sheets, and icons. Developers can either import the complete stylesheet or selectively include individual component styles from the distributed widget directory.
The tool suits developers building WeChat mini programs who want to maintain design consistency with the WeChat ecosystem. It is a pure styling library; developers requiring logic-wrapped components should use the separate mini program component library version. The library offers both pixel-based and rpx-based versions to accommodate different scaling approaches. Dark mode support is available by adding a data attribute to the root element. The README directs users to the dist directory for previewing components using WeChat's web developer tools and references the weui-design repository for visual standards documentation.
The project maintains a straightforward contribution model, welcoming issues and pull requests from the community. Development activity centers on the core styling library without indication of rapid iteration or frequent releases.