Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip design for tooltips in in text #2781

Open
eirikbacker opened this issue Nov 14, 2024 · 2 comments
Open

Tooltip design for tooltips in in text #2781

eirikbacker opened this issue Nov 14, 2024 · 2 comments
Assignees
Labels
🎨 figma Everything related to changes in Figma 🕵️ investigate Needs investigation

Comments

@eirikbacker
Copy link
Contributor

eirikbacker commented Nov 14, 2024

Tooltips can be placed around raw text. This is how Mattilsynet is using Tooltip in most situations: we have so many complicated terms, or terms that can be interpreted in different ways, or used in different was across different countries, but we need to use them due to legal regulations. In these scenarios, we use tooltip like:

Please contact the <Tooltip content="…">freight forwarder</Tooltip>
for information about the <Tooltip content="…">export certificate</Tooltip>.

But there is no design for how this should look. Maybe we should have a standard if placed around text? dashed underline is a pretty wide spread convention :)

@eirikbacker eirikbacker converted this from a draft issue Nov 14, 2024
@eirikbacker eirikbacker moved this from 🔵 Inbox to 📄 Todo in Team Design System Nov 14, 2024
@eirikbacker eirikbacker added 🎨 figma Everything related to changes in Figma 🕵️ investigate Needs investigation labels Nov 14, 2024
@mrosvik
Copy link
Member

mrosvik commented Nov 22, 2024

@eirikbacker

Should we use popover instead of tooltip for word definitions? 🤔

Example from vg:
Image

I think we need a common understanding of when to use tooltip and when to use popovers.

@eirikbacker
Copy link
Contributor Author

Good point, and maybe even consolidate or make a good distinction for the team? This might be easier to discuss live in a meeting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 figma Everything related to changes in Figma 🕵️ investigate Needs investigation
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants