Description
Currently, our threadloom-ui crate has a number of great components, but we are missing a Tooltip component to show helpful text when a user hovers over an element.
Requirements
- Create a new component
Tooltip in threadloom-ui/src/components/.
- It should accept
children (the element to hover) and content (the text to show in the tooltip).
- Use
on_mouse_enter and on_mouse_leave to toggle a reactive signal (e.g., let is_hovered = signal(false);).
- Add basic styling using our existing
tl- CSS prefix.
Where to look
- Look at
threadloom-ui/src/lib.rs for examples of how we build components (e.g., Button).
- Check
AGENTS.md for our component patterns.
Why this is a good first issue
This task is isolated to a single new component, doesn't require deep knowledge of the core engine, and immediately adds visual value to the framework! Let us know if you need any help getting started.
Description
Currently, our
threadloom-uicrate has a number of great components, but we are missing aTooltipcomponent to show helpful text when a user hovers over an element.Requirements
Tooltipinthreadloom-ui/src/components/.children(the element to hover) andcontent(the text to show in the tooltip).on_mouse_enterandon_mouse_leaveto toggle a reactive signal (e.g.,let is_hovered = signal(false);).tl-CSS prefix.Where to look
threadloom-ui/src/lib.rsfor examples of how we build components (e.g.,Button).AGENTS.mdfor our component patterns.Why this is a good first issue
This task is isolated to a single new component, doesn't require deep knowledge of the core engine, and immediately adds visual value to the framework! Let us know if you need any help getting started.