Logo Design Tooltips

Design Tooltips

Cộng đồng
marckohlbrugge
design-tooltips

Polish: apply in a polish or review pass on existing UI, not while first designing a page; a first build only needs the basics right. When and how to use tooltips, and what a toggle's icon should show. Covers which controls get one, what goes in it (name, shortcut, extra detail), the two delays (labels wait, details show fast), the warm group that opens the next tooltip instantly, touch and accessibility, and whether an icon shows the current state or the action. Use when polishing or reviewing tooltips, icon-only buttons, keyboard shortcuts, a sidebar or panel toggle, or when tooltips feel slow, jumpy or missing.

Tổng quan

Nhà phát hànhmarckohlbrugge
Kho mãskills
Tên kỹ năngdesign-tooltips
Sao
749
Bản fork
57
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được marckohlbrugge công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Design Tooltips trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/marckohlbrugge/skills/tree/main/skills/design-tooltips
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marckohlbrugge/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/design-tooltips .claude/skills/design-tooltips
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Design Tooltips trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Design Tooltips ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Design Tooltips với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Tooltips

When: polish. While first building, only give icon-only buttons an aria-label (and a plain title if there's no tooltip component yet). Delays, warm groups, shortcuts in tooltips and toggle-icon choices belong to a polish pass, on new or existing UI.

Tooltips are what let an interface stay sparse. An icon can stand alone because hovering it once says what it is, and next time you just click. So put them on many things, as Linear does, not just a few. The rest of this skill is about making a lot of tooltips feel calm instead of noisy.

Related: design-menus-and-pickers.

What gets one

  • Every icon-only control. Required, not optional: the tooltip is its visible name.
  • Anything with a keyboard shortcut, even when it has a text label. Showing the shortcut where people already look is how they learn it.
  • Compact data that needs explaining: a "+12 −3" diff, a streak flame with a number, a status dot, a relative time ("3h", the full date in the tooltip), a truncated name.
  • Not text that already says the same thing, or controls whose label is fully visible and have no shortcut. A tooltip repeating the button text is noise.

What goes in it

  • The action, not the icon: "Hide sidebar", not "Sidebar". "Copy link", not "Link".
  • The shortcut after the label, set apart as keys: Hide sidebar [ or Search ⌘K. Use the platform's symbols (⌘ ⌥ ⇧ on Mac).
  • For data, the detail: "12 lines added, 3 removed", "Current streak: 41 days", "Nov 28, 2026, 14:03".
  • One short line. No sentences ending in a period, no interactive content (no links or buttons: they can't be reached). If it needs a paragraph or a link, it's a popover.

Timing: two kinds of tooltip

Not every tooltip should wait the same. Decide per tooltip which kind it is.

KindExamplesDelay before showing
Label: names a control people use all the timemain navigation, toolbar icons, sidebar toggle~500–700ms
Detail: adds information someone hovered to getdiff counts, streak numbers, timestamps, truncated text, avatars in a stack~0–150ms

Why: a label tooltip appearing every time your cursor rests on a nav icon you already know is clutter, and the cursor rests there right after every click. A detail tooltip is the reason for hovering, so making people wait for it is annoying.

The warm group

Once a tooltip has shown, the next one should show instantly, with no delay and no animation, as long as the cursor moves to it within ~300–500ms of the last one closing. Someone moving along the sidebar after the first tooltip is exploring what each item does. Hiding and then waiting again before each one feels broken.

  • The simple, generic rule (what Radix's skipDelayDuration and Base UI's data-instant do): one shared timestamp of "a tooltip was visible until T". If now − T is under the skip window, open immediately. That works across groups too and is usually enough.
  • Only the first tooltip in a run animates (fade + scale(0.97), ~125ms ease-out, from the trigger). Instant ones just appear and swap.
  • Hide on mouse leave right away (no exit delay), on click of the trigger, on scroll, and on Escape.
  • Clicking a control hides its tooltip and keeps it hidden until the cursor leaves and comes back, so it doesn't reappear over the result of the click.

Touch and accessibility

  • Touch has no hover. Never put information only in a tooltip that touch users need. For icon-only buttons the name also goes in aria-label; for details, show them somewhere tappable (the detail page, a popover on tap).
  • Show on keyboard focus too (:focus-visible), with the same delays.
  • The tooltip text is the accessible name or description: aria-label on icon-only buttons, or aria-describedby pointing at the tooltip for extra detail. Hide purely visual duplicates with aria-hidden.
  • Don't cover what the user is pointing at or the next thing they'll click: prefer the side away from the content flow (right of a left sidebar, above a bottom toolbar), with a small 6–8px gap.

Icons for toggles: state or intent?

A toggle's icon can show the current state or what happens on click. Pick per control, and let the tooltip always say the action.

  • Show the state when the control mirrors something visible on screen: a sidebar or panel toggle, a layout or density switch, a view mode. The icon is a tiny picture of the current layout. Linear's sidebar toggle draws a narrow sidebar when it's collapsed and a wide one when it's open, and animates between them. The tooltip says "Show sidebar" / "Hide sidebar".
  • Show the intent when the state is obvious elsewhere and the button is a verb: play/pause (show ▶ when paused), mute (shows the speaker you'll get), expand/collapse a section (chevron points where it will go).
  • For on/off settings where neither reads well, keep one icon and show the state with fill or color (outlined = off, filled = on, like the current page in a nav), not by swapping to a different picture.
  • When the icon changes, animate the change (~150–200ms, morph or crossfade) so people see that their click did it, unless reduced motion is on.

Checklist

  • Every icon-only control has a tooltip and an aria-label
  • Shortcuts appear in the tooltip of their control
  • Each tooltip is labelled as label (slow) or detail (fast)
  • A shown tooltip makes the next one instant (shared skip window)
  • Hidden on click, scroll, Escape and mouse leave; shown on keyboard focus
  • Nothing important lives only in a tooltip on touch devices
  • Toggle icons follow state-vs-intent above; the tooltip says the action

Câu hỏi thường gặp

Kỹ năng AI Design Tooltips làm được gì?

Polish: apply in a polish or review pass on existing UI, not while first designing a page; a first build only needs the basics right. When and how to use tooltips, and what a toggle's icon should show. Covers which controls get one, what goes in it (name, shortcut, extra detail), the two delays (labels wait, details show fast), the warm group that opens the next tooltip instantly, touch and accessibility, and whether an icon shows the current state or the action. Use when polishing or reviewing tooltips, icon-only buttons, keyboard shortcuts, a sidebar or panel toggle, or when tooltips feel...

Vì sao nên dùng Design Tooltips trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Design Tooltips là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Design Tooltips trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/marckohlbrugge/skills/tree/main/skills/design-tooltips. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Design Tooltips?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Design Tooltips với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Design Tooltips với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Design Tooltips có miễn phí không?

Kỹ năng này được marckohlbrugge phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇