Skip to content
PixiKit

Glint Hover

A glossy light streak that sweeps across any element on hover, follows the pointer, shines on a timer or sweeps on click, with an edge that catches the light.

pixikit.com/docs/effects/glint-hover

Customize

Mode
Variant
Glare color
Glare opacity0.50
Glare size30%
Softness0.60
Glare angle-45deg
Blend mode
Rim glint
Transition duration650ms
Interval3.0s
Play once
Intro
Border color

Props

21
NameTypeDefaultDescription
childrenReactNodeNoneThe content the glare passes over.
mode"hover" | "follow" | "loop" | "click""hover"Sweep on hover, follow the pointer, shine on a timer, or sweep on click.
variant"streak" | "twin" | "sheen""streak"The shape of the light: one bright streak, a twin streak like glass, or a soft wide sheen.
glareColorstring"#ffffff"The glare's colour; any CSS colour, variables included.
glareOpacitynumber0.5How bright the glare is, 0 to 1.
glareSizenumber30The width of the glare, as a percent of the box's diagonal.
softnessnumber0.6How soft the core of the glare is, 0 to 1.
glareAnglenumber-45The direction the glare travels, in degrees.
blendMode"screen" | "normal" | "overlay" | "soft-light""screen"How the glare mixes with the content.
rimGlintbooleantrueLets the edge catch the light where the glare crosses it.
transitionDurationnumber650Milliseconds one sweep takes.
intervalnumber3Seconds between shines in loop mode.
playOncebooleanfalseIn hover mode, sweeps only on the way in instead of again on the way out.
introbooleanfalseSweeps once when the box first scrolls into view.
widthstring"auto"The box's width, any CSS length.
heightstring"auto"The box's height, any CSS length.
backgroundstring"transparent"The box's background, any CSS background.
borderRadiusstring"10px"The box's corner radius, any CSS length.
borderColorstring"transparent"The box's border colour.
classNamestringNone
styleCSSPropertiesNone

More interaction effects in Pro

View all

Related