Skip to content

Glint Button

A dark button with a glint that sweeps across it every so often and on hover, lighting up the fill, the border and the text at once.

Plan
Free · MIT
Dependencies
React only
Props
8 (7 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenReactNode"Get started"Button text.
colorstring"#16171c"Color of the button body.
glintColorstring"#ffffff"Color of the glint.
intervalnumber3.8Seconds between automatic glints (0 = only on hover).
speednumber1Seconds the glint takes to cross.
anglenumber105Tilt of the glint, in degrees.
arrowbooleantrueShows an arrow after the text.
heightnumber60Button height, in px.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { GlintButton } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • Press and hold to confirm: a ring fills, the button shakes more and more, and it vibrates on completion. Works with mouse, touch or keyboard.

    Buttons

  • A polished metal button with a beveled edge and a reflection that follows the cursor.

    Buttons

  • A button whose ripple is born exactly where you click: a luminous wavefront with rings that sweeps out to the farthest corner.

    Buttons