Skip to content

Add a Tooltip component to threadloom-ui #2

Description

@Parth3930

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions