Comments (4)
Tooltip Component
The tooltip component is a simple component that can either have a single paragraph of text or a title and paragraph.
Interactions
When hovering on a Tooltip Trigger, the tooltip will fade in towards the trigger. For example, if the tooltip is situated above the Trigger, hovering on the trigger will cause the tooltip to fade from 0%
opacity to 100%
opacity, and transition downwards, towards the trigger.
Abstract link
from design-system.
These probably don't affect sign-off, but:
- Will it ever be a different colour (or only if we do dark mode)?
- Will it ever contain more than plain text (a link for example). If not, I'd guess it would be useful in the docs to suggest what component should be used to provide richer text.
from design-system.
- I've kept them dark as this is generally the accepted look for tooltips as the contrast between our light mode and the tooltip helps to make it stand out
- Tooltips should only be used to add additional info that is in plain text - they can't be hovered on themselves as only the (i) icon has the hover target. The Popover component is planned to allow extra features including links and images, so when we have that we'll navigate users to that component in the docs.
from design-system.
tooltip vs popover 🤦♂ 😄
from design-system.
Related Issues (20)
- Enable an Inline Nav variant for Masthead
- Upgrade Storybook
- Supplementary colours supc and supd are the same HOT 1
- Add design tokens to Storybook HOT 1
- Make Masthead responsive
- Add focus trap to Modal
- Expose token values for use in storybook
- DataGrid: Click area of checkboxes is incorrect HOT 1
- Chromatic not reporting status in PRs
- Resolve node 16 GHA warnings
- Adjust component box-shadows inline with new Elevation guidelines HOT 1
- Remove shadow token '4'
- Update token description with more abstract definitions
- When clicking the icon the input should have focus on `TextInputE`
- Update DataGrid styling to latest
- Export selector functions directly in @royalnavy/design-tokens HOT 1
- Implement DataGrid Column Groupings
- Masthead search box appears below Sidebar
- Implement DataGrid Expandable Sub Rows
- Update button styles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system.