Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Pass prop into style={{}} on hover - SolidJS
S
SolidJS
โข
4y ago
โข
3 replies
Bersaelor
Pass prop into style={{}} on hover
I need to send a hex
-color into the styles that depends on my data
, specifically
'&:hover': {
color: props.color
}
'&:hover': {
color: props.color
}
unfortunately when I use plain
style
style
the on
-hover isn
't working
, when I use suid
's
styled
styled
I can
't pass the prop
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Are there any performance implications with using the style prop?
S
SolidJS / support
3y ago
Make signal react on prop change
S
SolidJS / support
3y ago