ui-styling

使用 shadcn/ui 组件(基于 Radix UI + Tailwind)和 Tailwind CSS 的实用优先样式以及基于画布的视觉设计来创建美观且无障碍的用户界面,适用于构建界面、实现设计系统、响应式布局、添加无障碍组件、定制主题与颜色、实现深色模式及生成视觉设计和海报以建立一致样式模式。

仓库最近推送
GitHub Stars
156,577
Forks
16,516
Issues / PRs
50

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ui-styling":https://skillpi.com/zh/skills/deepskill-d9aaeb5af4bb691c26ae1dff42c8065d6890fe4303e0766d9d57085dd78cbeec。安装前核对上游来源和版本:https://github.com/nextlevelbuilder/ui-ux-pro-max-skill。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

当前版本的下载许可尚未确认或受限。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 shadcn/ui 组件(基于 Radix UI + Tailwind)和 Tailwind CSS 的实用优先样式以及基于画布的视觉设计来创建美观且无障碍的用户界面,适用于构建界面、实现设计系统、响应式布局、添加无障碍组件、定制主题与颜色、实现深色模式及生成视觉设计和海报以建立一致样式模式。

0 下载

介绍来源: third_party · nextlevelbuilder · 0.0.1 参考来源

SkillPi 解读

能完成的任务
创建有Shadcn/ui组件(在Radix UI + Tailwind上建造),Tailwind CSS的功能-第一造型,以及基于画布的视觉设计的美丽,可访问的用户界面. 在构建用户界面时使用,实施设计系统,创建响应性布局,添加可访问组件(对称,下拉,形式,表格),定制主题和颜色,实施暗模式,生成视觉设计和海报,或建立跨应用程序的一致样式模式.
适合谁
使用时: 使用基于反应的框架( Next.js, Vite, Remix, Astro) 构建 UI , 执行可访问组件( 对话框、 表格、 表格、 导航) 采用通用第一CSS方式 创建响应性,移动性第一布局 实施暗模式和主题定制 建筑设计系统 具有一致的标志 生成视觉设计,海报,或品牌材料 快速原型 具有即时视觉反馈 添加复杂的UI模式(数据表,图表,命令调色板)
输入和输出
来源文档未说明。
软件、账号及付费要求
用 Tailwind 安装 shadcn/ ui:** 框架、 TypeScript、 路径和主题首选项的 CLI 提示 。 这同时配置了shadcn/ui和Tailwind CSS. 添加组件:** 使用带有工具样式的组件 : **
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

本站暂无可核验的版本文件清单。

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ui-styling
description: Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.
argument-hint: "[component or layout]"
license: MIT
metadata:
  author: claudekit
  version: "1.0.0"

UI Styling Skill

Comprehensive skill for creating beautiful, accessible user interfaces combining shadcn/ui components, Tailwind CSS utility styling, and canvas-based visual design systems.

Reference

When to Use This Skill

Use when:

  • Building UI with React-based frameworks (Next.js, Vite, Remix, Astro)
  • Implementing accessible components (dialogs, forms, tables, navigation)
  • Styling with utility-first CSS approach
  • Creating responsive, mobile-first layouts
  • Implementing dark mode and theme customization
  • Building design systems with consistent tokens
  • Generating visual designs, posters, or brand materials
  • Rapid prototyping with immediate visual feedback
  • Adding complex UI patterns (data tables, charts, command palettes)

Core Stack

Component Layer: shadcn/ui

  • Pre-built accessible components via Radix UI primitives
  • Copy-paste distribution model (components live in your codebase)
  • TypeScript-first with full type safety
  • Composable primitives for complex UIs
  • CLI-based installation and management

Styling Layer: Tailwind CSS

  • Utility-first CSS framework
  • Build-time processing with zero runtime overhead
  • Mobile-first responsive design
  • Consistent design tokens (colors, spacing, typography)
  • Automatic dead code elimination

Visual Design Layer: Canvas

  • Museum-quality visual compositions
  • Philosophy-driven design approach
  • Sophisticated visual communication
  • Minimal text, maximum visual impact
  • Systematic patterns and refined aesthetics

Quick Start

Component + Styling Setup

Install shadcn/ui with Tailwind:

npx shadcn@latest init

CLI prompts for framework, TypeScript, paths, and theme preferences. This configures both shadcn/ui and Tailwind CSS.

Add components:

npx shadcn@latest add button card dialog form

Use components with utility styling:

import { Button } from "@/components/ui/button"
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"

export function Dashboard() {
  return (
    <div className="container mx-auto p-6 grid gap-6 md:grid-cols-2 lg:grid-cols-3">
      <Card className="hover:shadow-lg transition-shadow">
        <CardHeader>
          <CardTitle className="text-2xl font-bold">Analytics</CardTitle>
        </CardHeader>
        <CardContent className="space-y-4">
          <p className="text-muted-foreground">View your metrics</p>
          <Button variant="default" className="w-full">
            View Details
          </Button>
        </CardContent>
      </Card>
    </div>
  )
}

Alternative: Tailwind-Only Setup

Vite projects:

npm install -D tailwindcss @tailwindcss/vite
// vite.config.ts
import tailwindcss from '@tailwindcss/vite'
export default { plugins: [tailwindcss()] }
/* src/index.css */
@import "tailwindcss";

Component Library Guide

Comprehensive component catalog with usage patterns, installation, and composition examples.

See: references/shadcn-components.md

Covers:

  • Form & input components (Button, Input, Select, Checkbox, Date Picker, Form validation)
  • Layout & navigation (Card, Tabs, Accordion, Navigation Menu)
  • Overlays & dialogs (Dialog, Drawer, Popover, Toast, Command)
  • Feedback & status (Alert, Progress, Skeleton)
  • Display components (Table, Data Table, Avatar, Badge)

Theme & Customization

Theme configuration, CSS variables, dark mode implementation, and component customization.

See: references/shadcn-theming.md

Covers:

  • Dark mode setup with next-themes
  • CSS variable system
  • Color customization and palettes
  • Component variant customization
  • Theme toggle implementation

Accessibility Patterns

ARIA patterns, keyboard navigation, screen reader support, and accessible component usage.

See: references/shadcn-accessibility.md

Covers:

  • Radix UI accessibility features
  • Keyboard navigation patterns
  • Focus management
  • Screen reader announcements
  • Form validation accessibility

Tailwind Utilities

Core utility classes for layout, spacing, typography, colors, borders, and shadows.

See: references/tailwind-utilities.md

Covers:

  • Layout utilities (Flexbox, Grid, positioning)
  • Spacing system (padding, margin, gap)
  • Typography (font sizes, weights, alignment, line height)
  • Colors and backgrounds
  • Borders and shadows
  • Arbitrary values for custom styling

Responsive Design

Mobile-first breakpoints, responsive utilities, and adaptive layouts.

See: references/tailwind-responsive.md

Covers:

  • Mobile-first approach
  • Breakpoint system (sm, md, lg, xl, 2xl)
  • Responsive utility patterns
  • Container queries
  • Max-width queries
  • Custom breakpoints

Tailwind Customization

Config file structure, custom utilities, plugins, and theme extensions.

See: references/tailwind-customization.md

Covers:

  • @theme directive for custom tokens
  • Custom colors and fonts
  • Spacing and breakpoint extensions
  • Custom utility creation
  • Custom variants
  • Layer organization (@layer base, components, utilities)
  • Apply directive for component extraction

Visual Design System

Canvas-based design philosophy, visual communication principles, and sophisticated compositions.

See: references/canvas-design-system.md

Covers:

  • Design philosophy approach
  • Visual communication over text
  • Systematic patterns and composition
  • Color, form, and spatial design
  • Minimal text integration
  • Museum-quality execution
  • Multi-page design systems

Utility Scripts

Python automation for component installation and configuration generation.

shadcn_add.py

Add shadcn/ui components with dependency handling:

python scripts/shadcn_add.py button card dialog

tailwind_config_gen.py

Generate tailwind.config.js with custom theme:

python scripts/tailwind_config_gen.py --colors brand:blue --fonts display:Inter

Best Practices

  1. Component Composition: Build complex UIs from simple, composable primitives
  2. Utility-First Styling: Use Tailwind classes directly; extract components only for true repetition
  3. Mobile-First Responsive: Start with mobile styles, layer responsive variants
  4. Accessibility-First: Leverage Radix UI primitives, add focus states, use semantic HTML
  5. Design Tokens: Use consistent spacing scale, color palettes, typography system
  6. Dark Mode Consistency: Apply dark variants to all themed elements
  7. Performance: Leverage automatic CSS purging, avoid dynamic class names
  8. TypeScript: Use full type safety for better DX
  9. Visual Hierarchy: Let composition guide attention, use spacing and color intentionally
  10. Expert Craftsmanship: Every detail matters - treat UI as a craft

Reference Navigation

Component Library

  • references/shadcn-components.md - Complete component catalog
  • references/shadcn-theming.md - Theming and customization
  • references/shadcn-accessibility.md - Accessibility patterns

Styling System

  • references/tailwind-utilities.md - Core utility classes
  • references/tailwind-responsive.md - Responsive design
  • references/tailwind-customization.md - Configuration and extensions

Visual Design

  • references/canvas-design-system.md - Design philosophy and canvas workflows

Automation

  • scripts/shadcn_add.py - Component installation
  • scripts/tailwind_config_gen.py - Config generation

Common Patterns

Form with validation:

import { useForm } from "react-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
import * as z from "zod"
import { Form, FormField, FormItem, FormLabel, FormControl, FormMessage } from "@/components/ui/form"
import { Input } from "@/components/ui/input"
import { Button } from "@/components/ui/button"

const schema = z.object({
  email: z.string().email(),
  password: z.string().min(8)
})

export function LoginForm() {
  const form = useForm({
    resolver: zodResolver(schema),
    defaultValues: { email: "", password: "" }
  })

  return (
    <Form {...form}>
      <form onSubmit={form.handleSubmit(console.log)} className="space-y-6">
        <FormField control={form.control} name="email" render={({ field }) => (
          <FormItem>
            <FormLabel>Email</FormLabel>
            <FormControl>
              <Input type="email" {...field} />
            </FormControl>
            <FormMessage />
          </FormItem>
        )} />
        <Button type="submit" className="w-full">Sign In</Button>
      </form>
    </Form>
  )
}

Responsive layout with dark mode:

<div className="min-h-screen bg-white dark:bg-gray-900">
  <div className="container mx-auto px-4 py-8">
    <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
      <Card className="bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700">
        <CardContent className="p-6">
          <h3 className="text-xl font-semibold text-gray-900 dark:text-white">
            Content
          </h3>
        </CardContent>
      </Card>
    </div>
  </div>
</div>

Resources

版本历史

  1. v2.15.0 GitHub ↗
    原版更新说明

    ## UI UX Pro Max v2.15.0 This release is a broad search, data-quality, and agent-guidance upgrade. It keeps the existing CLI/install contract while improving how agents retrieve, reason about, and apply UI/UX guidance. ### Search and reasoning - Reworked BM25 routing, query rewriting, abstention, typo recovery, suggestions, and cache safety. - Added a 90-case graded relevance corpus covering 12 domains, 22 stacks, hard negatives, routing, and design-system coherence. - Added deterministic current-versus-legacy framework routing so old-version queries return labeled legacy guidance or abstain instead of mixing generations. - Strengthened exact style, landing-pattern, palette, and product-reasoning identity resolution. - Completed exact reasoning coverage for all 192 product types and made generated source identities traceable. ### Curated UI/UX data - Refreshed the style taxonomy: 79 searchable styles, including 50 active and 29 supplemental styles; 9 legacy entries remain deprecated and redirect to supported replacements. - Expanded the catalog to 119 UX guidelines and 1,260 stack-specific guidelines across 22 stacks. - Updated accessibility guidance for contrast roles, focus indicators, icons, charts, error summaries, reduced motion, loading states, and interaction feedback. - Added resilient text-layout guidance for heading balance, long tokens, reflow, text scaling, essential text, chips, tags, badges, live counts, and cancellable micro-interactions. - Refreshed current and legacy guidance for React, Next.js, Vue, Nuxt, Nuxt UI, Svelte, Astro, Tailwind CSS, shadcn/ui, Flutter, React Native, SwiftUI, Three.js, Laravel, JavaFX, WPF, WinUI, UWP, Avalonia, and Uno Platform. ### Catalog provenance and refresh - Added fail-closed provenance and freshness contracts with applicability, status, verification date, and official-source validation. - Approved 1,934 Google Fonts with 8 explicitly reviewed exclusions. - Kept 105 curated icon-guidance rows while validating 1,512 upstream Phosphor icons separately. - Added deterministic offline refresh tools and a read-only scheduled workflow that produces review artifacts without committing or opening pull requests. ### Agent and CLI experience - Corrected generated script paths for local and global installations across supported assistants. - Updated agent instructions to search by semantic outcome first, then stack and implementation detail. - Clarified persistence behavior, safe no-overwrite semantics, and master/page override usage. - Updated English and Chinese documentation with accurate catalog counts, installation guidance, legacy-package warnings, and resilient text/compact-control examples. - Improved the style gallery with taxonomy metadata, status filtering, accessible filter state, and compact metadata badges. ### Release quality - Added semantic validators, provenance checks, relevance thresholds, domain/stack smoke tests, agent-query E2E tests, gallery tests, and source/mirror synchronization gates. - The release pipeline passed 153 Python tests, relevance evaluation, 12/12 domain smokes, 22/22 stack smokes, CLI build and E2E tests, gallery tests/build, and asset-sync verification. ### Upgrade ```bash npm install -g ui-ux-pro-max-cli@latest uipro update ``` For a new installation: ```bash npx ui-ux-pro-max-cli init --ai claude ``` The npm package remains `ui-ux-pro-max-cli`, and the installed command remains `uipro`. **Full changelog:** https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/compare/v2.14.2...v2.15.0

  2. v2.14.2 GitHub ↗
    原版更新说明

    ## [2.14.2](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/compare/v2.14.1...v2.14.2) (2026-08-12)

  3. v2.14.1 GitHub ↗
    原版更新说明

    ## [2.14.1](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/compare/v2.14.0...v2.14.1) (2026-08-06)

  4. v2.14.0 GitHub ↗
    原版更新说明

    ## [2.14.0](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/compare/v2.13.0...v2.14.0) (2026-08-06)

  5. v2.13.0 GitHub ↗
    原版更新说明

    ## [2.13.0](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/compare/v2.12.0...v2.13.0) (2026-08-03)

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 提供完整的 UI 构建解决方案,涵盖组件库、样式系统和视觉设计
  • 支持多种主流框架和工具链,适用性广泛
  • 包含详细的最佳实践和常见模式示例
触发精准95/100

亮点

  • 触发词覆盖全面,包括组件、布局、主题、无障碍等多个维度
  • 边界清晰,不会与其他技能混淆
  • argument-hint 提供了明确的参数提示
结构规范90/100

亮点

  • 文档结构清晰,包含快速开始、组件库指南、主题定制等完整章节
  • 提供了丰富的代码示例和实际使用场景
  • frontmatter 完整,包含必要的元数据信息
执行可靠90/100

亮点

  • 工具来源明确,提供了官方文档链接
  • 安装和使用命令准确,包含依赖处理
  • 提供了自动化脚本和配置生成工具
证据可验 (前四项均值)92/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 62, 69, 100 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • headlessui.com
  • radix-ui.com
  • tailwindcss.com
  • tailwindui.com
  • ui.shadcn.com
  • v0.dev

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

risk · 静态证据核验,不代表运行安全保证。

用 Tailwind 安装 shadcn/ ui:** 框架、 TypeScript、 路径和主题首选项的 CLI 提示 。 这同时配置了shadcn/ui和Tailwind CSS. 添加组件:** 使用带有工具样式的组件 : **

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。