附加组件

一次性 API 密钥展示

One-time api key reveal

只显示一次,带倒计时与复制门槛

实时预览

提示词正文

Build a one-time API key reveal with Tailwind CSS: a warning-toned panel explaining the key will never be shown again, the key rendered in a monospace field masked by default with an eye toggle, a copy button that requires an explicit click, and a countdown (e.g. 60 seconds) after which the key value is replaced by a permanent placeholder. Track whether the key was copied and change the closing guidance accordingly ("Make sure you pasted it somewhere safe"), and keep the panel reachable by keyboard with the copy action announced.

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

怎么用

警示面板;密钥默认掩码可切换;60 秒倒计时后永久掩藏;按复制情况变化提示文案。

同类提示词 · 附加组件

© 2026 Genisource Vibe · 提示词详情