导航栏

文档栏(版本切换)

Docs bar with version switcher

面包屑 + 版本下拉 + 旧版提示

实时预览

提示词正文

Build a documentation header bar with Tailwind CSS: the product logo and name, a breadcrumb of the current doc section, a version switcher dropdown listing the latest release plus two archived ones, and a small 'viewing an older version' notice when an archived version is selected. Add a search field and a GitHub link on the right, and keep the bar sticky so navigation stays reachable in long docs.

提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。

怎么用

文档栏的版本切换要带“正在查看旧版”提示,避免用户看过期内容。

同类提示词 · 导航栏

© 2026 Genisource Vibe · 提示词详情