uview-pro

uView Pro uni-app UI component library. Invoke when developing uni-app pages, using uView components (u-button, u-input, u-form, etc.), or needing UI elements like forms, buttons, modals, toasts, navigation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uview-pro" with this command: npx skills add uview-pro/skills/uview-pro-skills-uview-pro

uView Pro 组件库技能

触发条件

在以下场景中自动调用此技能:

  1. 开发 uni-app 页面时
  2. 使用 u- 前缀的组件时(如 u-button, u-input, u-form 等)
  3. 需要表单、按钮、弹窗、提示、导航等 UI 组件时
  4. 需要使用工具函数(防抖、节流、深拷贝等)时
  5. 需要使用组合式 API 钩子(useToast, useModal, useTheme 等)时
  6. 需要 uView Pro 相关的布局模板时

组件快速索引

基础组件

组件说明文档
button按钮组件button
icon图标组件icon
image图片组件image
text文本组件text
tag标签组件tag
badge徽章组件badge
link链接组件link
avatar头像组件avatar

表单组件

组件说明文档
form表单组件form
input输入框组件input
field表单字段组件field
textarea文本域组件textarea
checkbox复选框组件checkbox
radio单选框组件radio
switch开关组件switch
slider滑块组件slider
rate评分组件rate
numberBox数字输入框组件numberBox
upload上传组件upload
picker选择器组件picker
select选择器组件select
keyboard键盘组件keyboard

数据展示组件

组件说明文档
card卡片组件card
grid宫格组件grid
cell单元格组件cell
collapse折叠面板组件collapse
table表格组件table
list列表组件indexList
skeleton骨架屏组件skeleton
empty空状态组件empty
loading加载组件loading
swiper轮播组件swiper
steps步骤组件steps
timeLine时间轴组件timeLine

反馈组件

组件说明文档
toast提示组件toast
modal模态框组件modal
popup弹出层组件popup
actionSheet操作菜单组件actionSheet
noticeBar通知栏组件noticeBar
alertTips警告提示组件alertTips
topTips顶部提示组件topTips
loadingPopup加载弹窗组件loadingPopup

导航组件

组件说明文档
navbar导航栏组件navbar
tabbar标签栏组件tabbar
tabs标签页组件tabs
subsection分段器组件subsection
pagination分页组件pagination

布局组件

组件说明文档
layout布局组件layout
gap间距组件gap
divider分割线组件divider
line线条组件line
section区块组件section
safeAreaInset安全区域适配组件safeAreaInset

功能组件

组件说明文档
calendar日历组件calendar
countDown倒计时组件countDown
countTo数字滚动组件countTo
backTop返回顶部组件backTop
lazyLoad懒加载组件lazyLoad
readMore阅读更多组件readMore
search搜索组件search
swipeAction滑动操作组件swipeAction
transition过渡动画组件transition
waterfall瀑布流组件waterfall

工具函数快速索引

工具说明文档
debounce防抖工具debounce
deepClone深拷贝工具deepClone
deepMerge深度合并工具deepMerge
route路由工具route
time时间工具time
test测试工具(验证)test
queryParams查询参数工具queryParams
guid生成GUID工具guid
random随机数工具random
trim字符串修剪工具trim
color颜色值工具color
colorSwitch颜色转换工具colorSwitch

组合式 API 钩子

钩子说明文档
useToast提示钩子useToast
useModal模态框钩子useModal
useTheme主题管理钩子useTheme
useLocale国际化钩子useLocale
useDebounce防抖钩子useDebounce
useThrottle节流钩子useThrottle
useColor颜色管理钩子useColor

布局模板

布局说明文档
login登录布局login
address地址布局address
citySelect城市选择布局citySelect
comment评论布局comment
coupon优惠券布局coupon
order订单布局order
submitBar提交栏布局submitBar
menu菜单布局menu
keyboardPay键盘支付布局keyboardPay
wxCenter微信中心布局wxCenter

指南文档

指南说明文档
design设计指南design
customTheme自定义主题指南customTheme
customStyle自定义样式指南customStyle
customIcon自定义图标指南customIcon
i18n国际化指南i18n
faq常见问题指南faq
note注意事项指南note

使用示例

按钮组件

<template>
  <u-button type="primary" @click="handleClick">主要按钮</u-button>
  <u-button type="success">成功按钮</u-button>
  <u-button type="warning" plain>镂空按钮</u-button>
</template>

表单组件

<template>
  <u-form :model="form" :rules="rules" ref="formRef">
    <u-form-item label="用户名" prop="username">
      <u-input v-model="form.username" placeholder="请输入用户名" />
    </u-form-item>
    <u-form-item label="密码" prop="password">
      <u-input v-model="form.password" type="password" placeholder="请输入密码" />
    </u-form-item>
  </u-form>
</template>

提示组件

<script setup>
import { useToast } from '@/uni_modules/uview-pro'

const toast = useToast()

const showToast = () => {
  toast.show({
    title: '操作成功',
    type: 'success'
  })
}
</script>

完整组件列表

指南类 Skills

组件类 Skills

工具类 Skills

钩子类 Skills

布局类 Skills

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

uni-app

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ClawHub CLI Assistant

Use the ClawHub CLI to publish, inspect, version, update, sync, and troubleshoot OpenClaw skills from the terminal.

Registry SourceRecently Updated
21.8K
Profile unavailable
Coding

Self Updater

⭐ OPEN SOURCE! GitHub: github.com/GhostDragon124/openclaw-self-updater ⭐ ONLY skill with Cron-aware + Idle detection! Auto-updates OpenClaw core & skills, an...

Registry SourceRecently Updated
1106
Profile unavailable