Skip to content

Is it possible to use tooltips if you only have access to HighlightedCode #438

Answered by pomber
C-Loftus asked this question in Q&A
Discussion options

You must be logged in to vote

I am realizing now that I can't use shadcn due to its tailwind dependency so maybe this example isn't a good fit for me either way.

You can use any tooltip component, or build your own, it's not tied to shadcn.

I recommend you start from the callout example, and convert it into a tooltip. Once you have that, try to adapt the tooltip example from the docs, which is more complex but more powerful.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@C-Loftus
Comment options

@pomber
Comment options

@C-Loftus
Comment options

@pomber
Comment options

Answer selected by C-Loftus
@C-Loftus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants