Reflejo de luz realista que cruza un elemento al pasar el ratón.
npx shadcn@latest add https://reactbits.dev/r/GlareHover-TS-TW
Refuerzan una interacción concreta: un CTA, una tarjeta, un cursor. Nunca decoran por decorar.
| Prop | Tipo | Por defecto |
|---|---|---|
| width | string | 500px |
| height | string | 500px |
| background | string | #000 |
| borderRadius | string | 10px |
| borderColor | string | #333 |
| children | React.ReactNode | undefined |
| glareColor | string | #ffffff |
| glareOpacity | number | 0.5 |
| glareAngle | number | -45 |
| glareSize | number | 250 |
| transitionDuration | number | 650 |
| playOnce | boolean | false |
| className | string | "" |
| style | React.CSSProperties | {} |