Radix UI

Radix UI
难度:
前端框架
Radix UI 效果预览

效果预览

设计规范

由官方品牌资料与该风格提示词推导的关键 token,可复制或配合下方 DESIGN.md 使用。

颜色

  • primary人工核准

    主操作与高亮

  • on-primary推导

    主色上的文字

  • secondary推导

    标签、徽章与次级强调

  • on-secondary推导

    辅色上的文字

  • neutral提示词

    页面底色

  • on-neutral推导

    底色上的文字

  • surface推导

    卡片、面板与浮层

  • on-surface推导

    表面上的文字

  • border推导

    边框与分割线

圆角与形状

提示词
sm · 4px
md · 8px
lg · 12px
full

间距

推导
  • sm8px
  • md12px
  • lg24px

阴影与层级

推导

层级由细边框与色调分层表达。

字体

提示词
  • Ag

    标题 32px · 粗体

    Inter

  • Ag

    正文 16px · 常规

    Inter

  • Ag

    标签 13px · 中等

    Inter

Radix UI 是 Headless 原语的开创者:Dialog、DropdownMenu、Tooltip、Tabs 只交付行为与可访问性,皮肤完全由你决定。官方示例以近黑(#161618)表面配高对比白字、Inter 紧字距、8px 圆角与低透明发丝描边展示,焦点环高对比、样式由 data-state 驱动。适合从零构建设计系统、只要可靠交互基座的团队。

Radix UI前端框架

提示词模板

基础模板
Design a Radix UI-inspired interface. - Unstyled, accessible primitives: Dialog, DropdownMenu, Tooltip, Tabs; - Near-black #161618 surfaces with crisp white text; - Inter with tight tracking; 8px radii, hairline borders at low white opacity; - High-contrast focus rings and data-state driven styling; - Bring your own visual layer — Radix ships behavior, not skin. Colors: #161618, #FFFFFF, #1F1F23, #2A2A30 with #161618 accent. Typography: Inter.

变体提示词

📱 移动端
Design a mobile app with Radix UI aesthetics. Use Radix UI color identity with #161618 accents. Clean, touch-friendly, native feel.
💻 Web端
Design a web application with Radix UI style. Use Radix UI color identity with #161618 accents. Professional, responsive layout.
📊 仪表板
Design a dashboard with Radix UI design language. Use Radix UI color identity with #161618 accents. Data-rich, organized, clear hierarchy.
📄 落地页
Design a landing page with Radix UI visual identity. Use Radix UI color identity with #161618 accents. Compelling, conversion-focused.

使用示例

Radix 组件演练场

Web 端
Build a component playground with Radix UI primitives: dialogs, dropdown menus, tooltips, and accessible keyboard navigation.

Radix 深色应用外壳

仪表板
Create a dark app shell with Radix UI design language: tabs, popovers, and precise focus rings on #161618 surfaces.

✅ 适合场景

  • React 项目
  • 设计系统底座
  • 无障碍关键场景

❌ 不适合场景

  • 需要现成设计语言的团队
  • 非 React 技术栈

DESIGN.md 文件

符合 design.md 开放格式的设计系统描述,可复制或下载后交给 AI 编程工具使用。

下载