一键导入
frontend-design-system
Comprehensive guide for creating premium, high-fidelity UI layouts using the project's Vue component library and Tailwind CSS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive guide for creating premium, high-fidelity UI layouts using the project's Vue component library and Tailwind CSS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Frontend Design System |
| description | Comprehensive guide for creating premium, high-fidelity UI layouts using the project's Vue component library and Tailwind CSS. |
This skill provides the standards and patterns for building user interfaces in the dashboard application. The goal is to create a premium, dynamic, and highly polished user experience that "wows" the user.
backdrop-blur-xl), and subtle transparencies (bg-white/40) to create depth.primary and secondary palette, but often via gradients or low-opacity tints (bg-primary/10) rather than solid blocks of harsh color.duration-500, duration-700), micro-interactions on hover, and entrance animations are required.All standard UI elements must come from the internal component library.
Reference Documentation:
// Import path
import { Card, Button, Icon } from 'pilotui/elements.ts';
import { Modal } from 'pilotui/complex.ts';
iconify solar--*-bold-duotone or *-bold.Pages normally live within a DashboardShell (via default layout). Content should be centered with max-width.
<template>
<div class="relative min-h-screen">
<!-- Decorative Background Elements -->
<div
class="absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-primary/5 rounded-full blur-[120px] pointer-events-none">
</div>
<div
class="absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] bg-secondary/5 rounded-full blur-[120px] pointer-events-none">
</div>
<!-- Standard Container -->
<div class="container relative mx-auto px-6 py-16 max-w-7xl">
<!-- Standard Header Block -->
<PageHeader
overline="Section Label"
title="Page Title"
subtitle="Descriptive text goes here."
>
<template #actions>
<!-- Optional Right-side Actions/Status -->
</template>
</PageHeader>
<!-- Content Grid -->
<div class="grid gap-10 md:grid-cols-2 lg:grid-cols-3">
<slot />
</div>
</div>
</div>
</template>
Cards should rarely be just plain rectangles.
Premium Card Recipe:
rounded-[2.5rem] or rounded-3xl (generous curves).bg-white dark:bg-gray-800.shadow-[0_4px_20px_rgba(0,0,0,0.03)] -> Deep hover shadow hover:shadow-[0_40px_80px_rgba(var(--primary-rgb),0.15)].group hover:-translate-y-3 transition-all duration-700.font-black, tracking-tight.font-medium (avoid thin weights for body text to maintain legibility and premium feel).text-[10px] or text-xs, font-bold, uppercase, tracking-widest (typographic spacing is key for the premium look).text-gray-900 / dark:text-whitetext-gray-500 / dark:text-gray-400text-primaryUse gradients to create "glows".
bg-gradient-to-br from-primary via-primary-dark to-secondarybackdrop-blur-md or backdrop-blur-xl.bg-white/10 or bg-white/70.border border-white/20 for the "glass edge" look.Add "blobs" behind the main content to avoid empty whitespace looking boring.
<div class="absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-primary/5 rounded-full blur-[120px] pointer-events-none"></div>
When creating a new page or component:
Card and Button from the library?rounded-2xl+)?animate-fade-in-up)?dark: variants)?iconify solar--...)?