Ecosystem /@supermousejs/icon

Icon

VERSION2.3.0
LICENSEMIT
CONFIG5 Options

Renders a static SVG icon at the cursor position.

Installation

pnpm add @supermousejs/icon

Usage

app.use(Icon({ svg: '<svg>...</svg>', size: 24 }));

Configuration

* Reactive Property
OptionTypeDefaultDescription
svg stringundefinedSVG content string. (Required)
size *number24Size of the icon container.
color *string'black'CSS color (currentColor).
opacity *number1Opacity level (0-1).
offset [number, number][0, 0]Fixed [x, y] offset from cursor center.
supermouse
js
| Copyright © 2024-2026 Stud.io Inc.