Ecosystem /@supermousejs/labs

SmartRing

VERSION2.4.0
LICENSEMIT
CONFIG7 Options

A reactive ring that distorts with velocity and adapts to stuck elements.

Installation

pnpm add @supermousejs/labs

Usage

import { SmartRing } from '@supermousejs/labs';

app.use(SmartRing({ size: 24, color: '#f59e0b', enableSkew: true }));

Configuration

* Reactive Property
OptionTypeDefaultDescription
size *number20Base diameter.
hoverSize *number40Diameter when hovering interactive elements.
color *string'#ffffff'Border color.
fill *string'transparent'Background fill color.
borderWidth *number2Border thickness in pixels.
mixBlendMode string'difference'CSS mix-blend-mode applied to the ring element.
enableSkew booleanfalseDistort the ring based on velocity (stretch and rotate).
supermouse
js
| Copyright © 2024-2026 Stud.io Inc.