Skip to content

Plugins

This page provides commonly used plugin resources for uni-app development to help developers quickly implement various functional requirements.

Table of Contents

Official Plugins

uni-ui Component Library

uni-ui is a cross-platform UI library provided by DCloud. It is an extension component library based on uni-app, providing a series of rich components that can help developers quickly build feature-complete and well-experienced applications.

Component NameDescriptionDocumentationDownload Link
uni-uiOfficial UI component library with 30+ common componentsDocumentationDownload
uni-app Official Extension ComponentsExtension components officially provided by uni-appDocumentationDownload

Cloud Integration Plugins

DCloud's cloud integration solutions help developers quickly implement cloud data interaction.

Plugin NameDescriptionDocumentationDownload Link
uniCloudCloud development platform based on serverless mode and JS programmingDocumentationDownload
uni-idUnified account specificationDocumentationDownload
uni-payUnified payment specificationDocumentationDownload
uni-starterApplication starter project template integrated with uniCloudDocumentationDownload

Third-Party Plugins

UI Component Libraries

Excellent third-party UI component libraries providing rich interface components.

Plugin NameDescriptionPreviewDownload Link
uView UIComprehensive UI components and function libraryuView UIDownload
ThorUILightweight, simple mobile component libraryThorUIDownload
Color UIBright high-saturation color UI component libraryColor UIDownload
Grace UIElegant UI component libraryGrace UIDownload
FirstUIComprehensive, efficient mobile component libraryFirstUIDownload

Functional Plugins

Practical functional plugins to help developers quickly implement specific features.

Chart Plugins

Plugin NameDescriptionPreviewDownload Link
echarts-for-uniappChart component based on echartsechartsDownload
uchartsLightweight cross-platform chartsuchartsDownload
v-chartsChart component based on Vue2.0 and echartsv-chartsDownload

Map Plugins

Plugin NameDescriptionPreviewDownload Link
Tencent Location ServiceLocation service based on Tencent MapsTencent Location ServiceDownload
AmapMap service based on Amap Open PlatformAmapDownload
Baidu MapsLocation service based on Baidu MapsBaidu MapsDownload

Payment Plugins

Plugin NameDescriptionDownload Link
WeChat PayWeChat payment functionality wrapperDownload
AlipayAlipay payment functionality wrapperDownload
Unified PaymentIntegration of WeChat, Alipay, UnionPay and other payment methodsDownload

Media Plugins

Plugin NameDescriptionPreviewDownload Link
Image CropperImage cropping functionality componentImage CropperDownload
Video PlayerEnhanced video player componentVideo PlayerDownload
Audio PlayerCustom audio player componentAudio PlayerDownload
QR Code GeneratorQR code generation and scanning componentQR CodeDownload

Data Processing Plugins

Plugin NameDescriptionDownload Link
Data ValidationForm data validation toolDownload
Date ProcessingDate formatting and processing toolDownload
Encryption ToolsCommon encryption algorithm toolkitDownload
Local StorageEnhanced local storage toolDownload

Native Plugins

Native plugins wrap native code (such as Java, Objective-C, Swift, etc.) into plugins usable by uni-app, extending uni-app's native capabilities.

Official Native Plugins

Plugin NameDescriptionSupported PlatformsDownload Link
Audio RecordingAudio recording functionality native pluginAndroid, iOSDownload
BluetoothBluetooth functionality native pluginAndroid, iOSDownload
Fingerprint RecognitionFingerprint recognition functionality native pluginAndroid, iOSDownload
Speech RecognitionSpeech recognition functionality native pluginAndroid, iOSDownload

Third-Party Native Plugins

Plugin NameDescriptionSupported PlatformsDownload Link
Amap LocationLocation functionality based on AmapAndroid, iOSDownload
WeChat ShareWeChat sharing functionalityAndroid, iOSDownload
Push NotificationsMessage push functionalityAndroid, iOSDownload
Face RecognitionFace recognition and liveness detectionAndroid, iOSDownload

How to Use Plugins

Method 1: Import Plugins via HBuilderX

  1. Open HBuilderX, click the "Plugin" menu
  2. Select "Plugin Market"
  3. Search for the required plugin
  4. Click the "Install" button
  5. Configure and use according to plugin documentation

Method 2: Manual Download and Installation

  1. Download the plugin archive from the plugin market
  2. Extract the plugin to the project directory
  3. Import the plugin in the project
  4. Configure and use according to plugin documentation

Using uni_modules Plugins

uni_modules is a plugin modularization specification launched by DCloud, making usage more convenient:

  1. Select uni_modules compliant plugins in the plugin market
  2. Click "Import Plugin with HBuilderX"
  3. HBuilderX will automatically import the plugin to the project's uni_modules directory
  4. Use according to plugin documentation

Plugin Development and Publishing

If you want to develop your own plugins and publish them to the plugin market, you can follow these steps:

  1. Develop the plugin, ensuring complete functionality and multi-platform compatibility
  2. Organize plugin directory structure according to uni_modules specification
  3. Write detailed plugin documentation and usage instructions
  4. Register a developer account on DCloud Plugin Market
  5. Submit plugin for review
  6. Publish plugin after review approval

For detailed plugin development guide, please refer to uni-app Plugin Development Documentation.

FAQ

What to do if plugins don't work after installation?

  1. Check if the plugin is compatible with the current uni-app version
  2. Confirm if the plugin is correctly imported and configured
  3. Review notes in plugin documentation
  4. Check console for error messages
  5. Seek help in plugin comments or community

How to update installed plugins?

  1. For plugins installed via HBuilderX:

    • Open HBuilderX, click "Plugin" menu
    • Select "Installed Plugins"
    • Find the plugin to update, click "Update" button
  2. For uni_modules plugins:

    • Find the plugin in the plugin market
    • Click "Update Plugin"
    • HBuilderX will automatically update the plugin in the project

How to resolve plugin conflicts?

  1. Check if there are multiple plugins with similar functionality
  2. Review plugin dependencies to avoid dependency conflicts
  3. Try using different versions of plugins
  4. Contact plugin authors for solutions

一次开发,多端部署 - 让跨平台开发更简单