Ecosystem /@supermousejs/labs

SmartRing

VERSION2.3.1
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 on hover.
color *string'#ffffff'Border color used for the ring.
fill *string'transparent'Background fill color applied to the ring.
borderWidth *number2Border thickness in pixels.
mixBlendMode string'difference'CSS mix-blend-mode applied to the ring element.
enableSkew booleanfalseDistort shape based on velocity.
supermouse
js
| Copyright © 2024-2026 Stud.io Inc.