Overview
NutUI is a UI library inspired by the squirrel Scrat from the movie Ice Age who tirelessly pursues a nut, even causing disasters. It offers over 80 high-quality components suited for mobile development, supports code development for both H5 and multiple mini-programs simultaneously, and is based on JD APP 10.0 visual standards. It provides comprehensive documentation, supports TypeScript, server-side rendering, and component-level theme customization with over 700 variables. NutUI also facilitates internationalization, has strong unit test coverage, and offers Sketch design resources.
Features
- High-Quality Components: Over 80 components for various mobile scenarios.
- Cross-Platform Development: Supports code development for H5 and multiple mini-programs simultaneously.
- JD APP 10.0 Visual Standard: Based on JD APP 10.0 visual guidelines.
- On-Demand Usage: Supports on-demand component import.
- Comprehensive Documentation: Detailed documentation and examples provided.
- TypeScript Support: Supports TypeScript for development.
- Server-Side Rendering: Supports server-side rendering (in testing phase).
- Component-Level Theme Customization: Allows customization with 700+ variables.
- Internationalization Support: Currently supports English, Indonesian, and Traditional Chinese.
Installation
To install NutUI for mobile H5 development, use the following:
npm install @nutui/nutui
For Taro multi-platform development (WeChat, Alipay, JD mini-programs, and Taro-H5), install:
npm install @nutui/nutui-taro
Visit the official website at nutui.jd.com for more information and resources.
Summary
NutUI is a versatile UI library that offers a wide range of components, supports multiple development platforms, and provides tools for customization and internationalization. With strong community support and ongoing development, NutUI is a reliable choice for developers looking to create mobile applications with a modern and consistent UI design.