ui_search
Search a UI/UX database covering colors, icons, charts, components, and design patterns. Supports search, catalog, and template modes with filtering by category and tech stack.
Instructions
搜索 UI/UX 数据库,包括颜色、图标、图表、组件、设计模式等。支持三种模式:search(搜索数据)、catalog(查看组件目录)、template(搜索 UI 模板)。使用 BM25 算法进行智能搜索,支持按类别和技术栈过滤。数据来源:uipro-cli npm 包(v2.2.0+)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 搜索模式:search(搜索 UI/UX 数据,默认)、catalog(查看组件目录)、template(搜索 UI 模板) | search |
| query | No | 搜索关键词(支持中英文,如 'button'、'按钮'、'primary color'、'主色调')。catalog 模式不需要此参数。 | |
| category | No | 数据类别(仅 search 模式):colors(颜色)、icons(图标)、charts(图表)、landing(落地页)、products(产品)、typography(字体)、styles(样式)、ux-guidelines(UX 指南)、web-interface(Web 界面)等 | |
| stack | No | 技术栈过滤(仅 search 模式):react、vue、nextjs、nuxtjs、svelte、astro、flutter、react-native、swiftui、jetpack-compose 等 | |
| limit | No | 返回结果数量(默认 10,范围 1-50) | |
| min_score | No | 最小相关性得分(默认 0,范围 0-100) |