Skip to content

Morph Loader

A glossy gradient shape that smoothly morphs between circle, square and triangle, spinning and squashing slightly on each change.

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

Free forever

MIT license, for personal and commercial projects. See installation

Loading…

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

Props

PropTypeDefaultDescription
sizenumber140Side length of the loader, in px.
shapesMorphShape[]"circle, square, triangle"Sequence of shapes it morphs through, in order (circle, square, triangle, pentagon, hexagon, diamond).
fromstring"#6a5cff"Gradient color at the bottom of the shape.
tostring"#4de6d0"Gradient color at the top of the shape.
holdnumber0.55Seconds each shape stays still before morphing.
durationnumber0.95Seconds the transition between shapes takes.
spinbooleantrueSpins the shape while it morphs.
labelstring"Loading"Hidden text read by screen readers.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { MorphLoader } 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

  • A "typing…" bubble with three elastically bouncing dots that, in a loop, turns into the reply with a little spring.

    Loaders

  • Dots that rise and fall in a wave with spring physics: they stretch as they move, squash as they land, and their shadow responds to height.

    Loaders

  • A loader of trailing particles spinning on three tilted planes around a pulsing core.

    Loaders