high-end-visual-design by leonxlnx/taste-skill
npx skills add https://github.com/leonxlnx/taste-skill --skill high-end-visual-designVanguard_UI_Architect如果你生成的代码包含以下任何一项,设计将立即失败:
Geist, Clash Display, PP Editorial New, 或 Plus Jakarta Sans)。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
shadow-mdrgba(0,0,0,0.3)linear 或 ease-in-out 过渡。没有插值的瞬间状态变化。在编写代码之前,请根据提示的上下文,默默地 "掷骰子",从以下原型中选择一种组合,以确保输出是独一无二且始终保持高级感的:
#050505),背景使用径向网格渐变 (例如,微妙的发光紫色/翡翠色球体)。Vantablack 卡片搭配厚重的 backdrop-blur-2xl 和纯白/10 的极细边框。宽大的几何无衬线字体排版。#FDFBF7)、柔和的鼠尾草绿或深咖啡色调。使用高对比度的可变衬线字体作为大标题。添加微妙的 CSS 噪点/胶片颗粒叠加层 (opacity-[0.03]),营造实体纸张的质感。col-span-8 row-span-2 旁边堆叠着 col-span-4 的卡片),以打破视觉单调性。
* 移动端折叠: 回退到单列堆叠 (grid-cols-1),并留有充足的垂直间隙 (gap-6)。所有 col-span 覆盖重置为 col-span-1。-2deg 或 3deg 旋转,以打破数字网格。
* 移动端折叠: 在 768px 以下移除所有旋转和负边距重叠。使用标准间距垂直堆叠。重叠元素在移动端会导致触摸目标冲突。w-1/2) 使用巨大的字体排版,右半部分则是可交互、可滚动的水平图像胶囊或交错的交互式卡片。
* 移动端折叠: 转换为全宽垂直堆叠 (w-full)。排版块位于顶部,交互式内容在下方流动,必要时保留水平滚动。移动端覆盖 (通用): 任何在 md: 以上的非对称布局,在 768px 以下的视口中,都必须强制回退到 w-full, px-4, py-8。切勿使用 h-screen 作为全高区域——始终使用 min-h-[100dvh] 以防止 iOS Safari 视口跳动。
切勿将高级卡片、图像或容器直接平铺在背景上。它们必须看起来像物理的、精密加工的硬件 (就像放在铝托盘上的玻璃板),使用嵌套的外壳。
bg-black/5 或 bg-white/5)、极细外边框 (ring-1 ring-black/5 或 border border-white/10)、特定内边距 (例如 p-1.5 或 p-2) 和大外圆角 (rounded-[2rem]) 的包装 div。shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]),以及一个经过数学计算的较小圆角 (例如 rounded-[calc(2rem-0.375rem)]),以形成同心曲线。rounded-full),并带有充足的内边距 (px-6 py-3)。↗),它绝不能赤裸地放在文本旁边。它必须嵌套在自己的独特圆形包装器内 (例如,w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center),并完全与主按钮的右侧内边距齐平。py-24 到 py-40。让设计充分呼吸。rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium)。切勿使用默认过渡效果。所有动效必须模拟真实世界的质量和弹簧物理特性。使用自定义三次贝塞尔曲线 (例如,transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)])。
mt-6, mx-auto, w-max, rounded-full)。rotate-45 和 -rotate-45 配合绝对定位),而不仅仅是消失。backdrop-blur-3xl bg-black/80 或 bg-white/80)。translate-y-12 opacity-0 到 translate-y-0 opacity-100) 淡入并向上滑动,并带有交错延迟 (每个项目 delay-100, delay-150, delay-200)。group 工具类。悬停时,不要仅仅改变背景颜色。active:scale-[0.98]),以模拟物理按压。group-hover:translate-x-1 group-hover:-translate-y-[1px]) 并轻微放大 (scale-105),从而产生内部动能张力。translate-y-16 blur-md opacity-0 在 800ms+ 内解析为 translate-y-0 blur-0 opacity-100)。IntersectionObserver 或 Framer Motion 的 whileInView。切勿使用 window.addEventListener('scroll')——这会导致持续的重排并严重损害移动端性能。top, left, width 或 height 进行动画处理。动画应仅通过 transform 和 opacity 实现。谨慎使用 will-change: transform,并且仅用于正在主动动画的元素。backdrop-blur。切勿对滚动容器或大面积内容区域应用模糊滤镜——这会导致持续的 GPU 重绘和严重的移动端帧率下降。pointer-events-none 的伪元素 (position: fixed; inset: 0; z-index: 50)。切勿将其附加到滚动容器上。z-50 或 z-[9999]。z-index 应严格保留给系统层级使用:粘性导航、模态框、叠加层、工具提示。生成 UI 代码时,请严格按照以下顺序操作:
rounded-[2rem])。cubic-bezier 过渡、交错的导航显现效果以及按钮中的按钮悬停物理效果。在交付前,根据此矩阵评估你的代码。这是最后的过滤器。
py-24 —— 布局充分呼吸linear 或 ease-in-out768px 以下优雅地折叠为单列,使用 w-full 和 px-4transform 和 opacity —— 没有触发布局的属性backdrop-blur 仅应用于固定/粘性元素,从不应用于滚动内容每周安装量
2.0K
仓库
GitHub Stars
5.5K
首次出现
9 天前
安全审计
安装于
codex2.0K
gemini-cli2.0K
opencode2.0K
github-copilot2.0K
kimi-cli1.9K
amp1.9K
Vanguard_UI_ArchitectIf your generated code includes ANY of the following, the design instantly fails:
Geist, Clash Display, PP Editorial New, or Plus Jakarta Sans are available).shadow-md, rgba(0,0,0,0.3)).linear or ease-in-out transitions. Instant state changes without interpolation.Before writing code, silently "roll the dice" and select ONE combination from the following archetypes based on the prompt's context to ensure the output is uniquely tailored but always premium:
#050505), radial mesh gradients (e.g., subtle glowing purple/emerald orbs) in the background. Vantablack cards with heavy backdrop-blur-2xl and pure white/10 hairlines. Wide geometric Grotesk typography.#FDFBF7), muted sage, or deep espresso tones. High-contrast Variable Serif fonts for massive headings. Subtle CSS noise/film-grain overlay (opacity-[0.03]) for a physical paper feel.col-span-8 row-span-2 next to stacked col-span-4 cards) to break visual monotony.
grid-cols-1) with generous vertical gaps (gap-6). All col-span overrides reset to col-span-1.-2deg or 3deg rotation to break the digital grid.
Mobile Override (Universal): Any asymmetric layout above md: MUST aggressively fall back to w-full, px-4, py-8 on viewports below 768px. Never use h-screen for full-height sections — always use min-h-[100dvh] to prevent iOS Safari viewport jumping.
Never place a premium card, image, or container flatly on the background. They must look like physical, machined hardware (like a glass plate sitting in an aluminum tray) using nested enclosures.
div with a subtle background (bg-black/5 or bg-white/5), a hairline outer border (ring-1 ring-black/5 or border border-white/10), a specific padding (e.g., p-1.5 or p-2), and a large outer radius (rounded-[2rem]).shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]), and a mathematically calculated smaller radius (e.g., rounded-[calc(2rem-0.375rem)]) for concentric curves.rounded-full) with generous padding (px-6 py-3).↗), it NEVER sits naked next to the text. It must be nested inside its own distinct circular wrapper (e.g., w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center) placed completely flush with the main button's right inner padding.py-24 to py-40 for sections. Allow the design to breathe heavily.rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium).Never use default transitions. All motion must simulate real-world mass and spring physics. Use custom cubic-beziers (e.g., transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)]).
mt-6, mx-auto, w-max, rounded-full).rotate-45 and -rotate-45 with absolute positioning), not just disappear.backdrop-blur-3xl bg-black/80 or bg-white/80).translate-y-12 opacity-0 to ) with a staggered delay (, , for each item).group utility. On hover, do not just change the background color.active:scale-[0.98]) to simulate physical pressing.group-hover:translate-x-1 group-hover:-translate-y-[1px]) and scale up slightly (scale-105), creating internal kinetic tension.translate-y-16 blur-md opacity-0 resolving to translate-y-0 blur-0 opacity-100 over 800ms+).IntersectionObserver or Framer Motion's whileInView. Never use window.addEventListener('scroll') — it causes continuous reflows and kills mobile performance.top, left, width, or height. Animate exclusively via transform and opacity. Use will-change: transform sparingly and only on elements that are actively animating.backdrop-blur only to fixed or sticky elements (navbars, overlays). Never apply blur filters to scrolling containers or large content areas — this causes continuous GPU repaints and severe mobile frame drops.pointer-events-none pseudo-elements (). Never attach them to scrolling containers.When generating UI code, follow this exact sequence:
rounded-[2rem]).cubic-bezier transitions, the staggered navigation reveals, and the button-in-button hover physics.Evaluate your code against this matrix before delivering. This is the last filter.
py-24 — the layout breathes heavilylinear or ease-in-out768px to single-column with w-full and px-4transform and opacity — no layout-triggering propertiesWeekly Installs
2.0K
Repository
GitHub Stars
5.5K
First Seen
9 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex2.0K
gemini-cli2.0K
opencode2.0K
github-copilot2.0K
kimi-cli1.9K
amp1.9K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
768pxw-1/2), with interactive, scrollable horizontal image pills or staggered interactive cards on the right.
w-full). Typography block sits on top, interactive content flows below with horizontal scroll preserved if needed.translate-y-0 opacity-100delay-100delay-150delay-200position: fixed; inset: 0; z-index: 50z-50 or z-[9999]. Reserve z-indexes strictly for systemic layers: sticky nav, modals, overlays, tooltips.backdrop-blur is only applied to fixed/sticky elements, never to scrolling content