# Glint > 52 static cursors (generated CSS and SVG, no JavaScript) and 8 animated cursors. The animated runtime loads when the primary pointer is fine, hover-capable and allowed by accessibility settings. Test native cursor states with your site's CSS. Install the npm package `glint-cursors` once it is available, or use a gallery download. Rules for agents: ask what kind of site it is before installing; keep the cursor out of checkout, cart and payment, sign-in, sign-up and other form-heavy flows, dashboards and admin tools; always offer a scope; never use `*` or `!important` for cursors. ## Docs - [Getting started](/docs/getting-started/): Choosing between the Static and Animated sets. - [Static: plain HTML](/docs/static-html/): Link one generated CSS file. - [Static: React](/docs/static-react/): Import the generated CSS from the root component. - [Static: Next.js](/docs/static-nextjs/): Add the CSS in the root layout. - [Animated: plain HTML](/docs/animated-html/): One script tag with data attributes. - [Animated: React](/docs/animated-react/): The effect-hook pattern with clean teardown. - [Animated: Next.js](/docs/animated-nextjs/): A client component in the root layout. - [Scoping](/docs/scoping/): Limit a cursor to one section with a selector. - [Attributes](/docs/attributes/): data-cursor="native|hover", labels and directions. - [Colours and variants](/docs/colours/): Light, dark, accent and the contrast check. - ["Use default cursor" toggle](/docs/toggle/): Let visitors turn the custom cursor off. - [Accessibility and where not to use](/docs/accessibility/): Safeguards and the places to keep it out of. - [Performance and sizes](/docs/performance/): What each set costs. - [Browser support](/docs/browser-support/): What has been verified so far. - [Agents](/docs/agents/): Prompts, llms.txt and the agent skill. - [API reference](/docs/api/): generateStatic, the CLI, loadCursor, createCursor. - [Art style guide](/docs/art-style-guide/): How the cursors are drawn (for contributors). ## Agents - [Agent prompts](/agents/): a generic prompt and a per-cursor prompt on every cursor page. - [Agent skill](/agent/glint-cursors-skill.zip): SKILL.md plus a catalog reference with install steps for every cursor. - [Full text for LLMs](/llms-full.txt): this index, a general prompt and per-cursor install steps. - [Catalog JSON](/catalog.json): every cursor with its id, set, pack, hotspots and options. ## Cursors - [Bold arrow](/cursors/bold-arrow/) (`bold-arrow`, static, core): Hover adds a click badge. - [Chevron arrow](/cursors/chevron-arrow/) (`chevron-arrow`, static, core): Open corner chevron. Hover doubles it. - [Design arrow](/cursors/design-arrow/) (`design-arrow`, static, core): Original dart pointer. Hover adds a square selection handle. - [Head arrow](/cursors/head-arrow/) (`head-arrow`, static, core): Arrowhead only. Hover grows the tail. - [Hollow arrow](/cursors/hollow-arrow/) (`hollow-arrow`, static, core): Hover fills the outline with accent. - [Line arrow](/cursors/line-arrow/) (`line-arrow`, static, core): Hotspot is the centreline vertex of the head. Hover fills the head. - [Paper plane](/cursors/paper-plane/) (`paper-plane`, static, core): Crease is drawn in the keyline colour. Hover adds two speed lines. - [Sharp arrow](/cursors/sharp-arrow/) (`sharp-arrow`, static, core): Crisp classic arrow. Hover adds two click ticks. - [Slim arrow](/cursors/slim-arrow/) (`slim-arrow`, static, core): Tall, narrow arrow. Hover tilts 12 degrees around the tip. - [Soft arrow](/cursors/soft-arrow/) (`soft-arrow`, static, core): Hover tilts 16 degrees around the tip. - [Teardrop](/cursors/teardrop/) (`teardrop`, static, core): Pointed drop. Hover adds an accent eye. - [Wedge arrow](/cursors/wedge-arrow/) (`wedge-arrow`, static, core): Plain wedge, no tail. Hover cuts a notch across it. - [Asterisk](/cursors/asterisk/) (`asterisk`, static, marks): 20 px asterisk. Hover swaps to a 28 px four-point sparkle. - [Capsule](/cursors/capsule/) (`capsule`, static, marks): Horizontal pill, 22 px. Hover stretches to 30 px. - [Corners](/cursors/corners/) (`corners`, static, marks): Selection brackets. Hover spreads them and adds a centre dot. - [Diamond](/cursors/diamond/) (`diamond`, static, marks): 20 px diamond. Hover outlines a 29 px diamond around a centre. - [Dot](/cursors/dot/) (`dot`, static, marks): 20 px, growing to 28 px. - [Plus](/cursors/plus/) (`plus`, static, marks): 20 px plus. Hover adds a 28 px ring. - [Ring](/cursors/ring/) (`ring`, static, marks): 22 px ring, filling to a 26 px disc. - [Target](/cursors/target/) (`target`, static, marks): Bullseye. Hover opens the ring to 26 px. - [X mark](/cursors/x-mark/) (`x-mark`, static, marks): Hover adds a 28 px ring. - [Hexagon](/cursors/hexagon/) (`hexagon`, static, geometric): Geometric pack. - [Kite](/cursors/kite/) (`kite`, static, geometric): Geometric pack. Pointer with the tip at 4 4. - [Orbit](/cursors/orbit/) (`orbit`, static, geometric): Geometric pack. Planet and moon; hover opens the planet into an orbit. - [Quad](/cursors/quad/) (`quad`, static, geometric): Geometric pack. Hover spreads the four squares around an accent core. - [Square](/cursors/square/) (`square`, static, geometric): Geometric pack. - [Triangle](/cursors/triangle/) (`triangle`, static, geometric): Geometric pack. Too small for a core, so hover flips and grows instead. - [Pixel arrow](/cursors/pixel-arrow/) (`pixel-arrow`, static, pixel): 2 px blocks with a stepped keyline. Hover adds a pixel badge. - [Pixel chevron](/cursors/pixel-chevron/) (`pixel-chevron`, static, pixel): Pixel pack. Corner pointer; hover adds a stepped shaft. - [Pixel diamond](/cursors/pixel-diamond/) (`pixel-diamond`, static, pixel): Pixel pack. Hover outlines a larger diamond. - [Pixel plus](/cursors/pixel-plus/) (`pixel-plus`, static, pixel): Pixel pack. 18 px, hover 26 px. - [Pixel square](/cursors/pixel-square/) (`pixel-square`, static, pixel): Pixel pack. Hover outlines a larger square. - [Pixel X](/cursors/pixel-x/) (`pixel-x`, static, pixel): Pixel pack. 18 px, hover 26 px. - [Sketch arrow](/cursors/sketch-arrow/) (`sketch-arrow`, static, sketch): Edges wobble, vertices stay exact. Hover fills it in. - [Sketch chevron](/cursors/sketch-chevron/) (`sketch-chevron`, static, sketch): Sketch pack. Hover doubles it. - [Sketch circle](/cursors/sketch-circle/) (`sketch-circle`, static, sketch): Sketch pack. - [Sketch plus](/cursors/sketch-plus/) (`sketch-plus`, static, sketch): Sketch pack. Hover circles it. - [Sketch square](/cursors/sketch-square/) (`sketch-square`, static, sketch): Sketch pack. - [Sketch X](/cursors/sketch-x/) (`sketch-x`, static, sketch): Sketch pack. Hover circles it. - [Blob](/cursors/blob/) (`blob`, static, playful): Playful pack. Organic shape that swells and turns on hover. - [Bolt](/cursors/bolt/) (`bolt`, static, playful): Playful pack. Hover grows and turns accent. - [Bubble](/cursors/bubble/) (`bubble`, static, playful): Playful pack. Speech bubble with its tail at the hotspot; hover shows typing dots. - [Cloud](/cursors/cloud/) (`cloud`, static, playful): Playful pack. Hover brings out an accent sun. - [Heart](/cursors/heart/) (`heart`, static, playful): Playful pack. Hover grows and turns accent. - [Moon](/cursors/moon/) (`moon`, static, playful): Playful pack. Hover grows and adds an accent sparkle. - [Petal](/cursors/petal/) (`petal`, static, playful): Playful pack. Hover turns the flower and opens an accent centre. - [Star](/cursors/star/) (`star`, static, playful): Playful pack. Hover grows, tilts and turns accent. - [Duotone arrow](/cursors/duo-arrow/) (`duo-arrow`, static, duotone): Duotone pack. Hover turns the body accent with a fill rim. - [Duotone diamond](/cursors/duo-diamond/) (`duo-diamond`, static, duotone): Duotone pack. - [Duotone dot](/cursors/duo-dot/) (`duo-dot`, static, duotone): Duotone pack. - [Duotone square](/cursors/duo-square/) (`duo-square`, static, duotone): Duotone pack. - [Duotone star](/cursors/duo-star/) (`duo-star`, static, duotone): Duotone pack. - [Morph](/cursors/animated-morph/) (`morph`, animated): A dot that becomes a ring on hover. The default family, built into the runtime. - [Dot & ring](/cursors/animated-dot-ring/) (`dot-ring`, animated): An exact dot with a ring that trails behind it and grows on hover. - [Elastic](/cursors/animated-elastic/) (`elastic`, animated): Like dot & ring, but the ring follows on a spring: a small overshoot, then it settles. - [Squish](/cursors/animated-squish/) (`squish`, animated): A dot that stretches along the direction of movement and rounds out when it stops. - [Blob](/cursors/animated-blob/) (`blob`, animated): A dot that swells into a wobbly ring on hover with an elastic overshoot. CSS only. - [Spotlight](/cursors/animated-spotlight/) (`spotlight`, animated): A dot with a soft accent glow that trails it. Meant for one section. - [Arrow & chip](/cursors/animated-arrow-chip/) (`arrow-chip`, animated): A real arrow pointer with a label chip that sits beside it, never covering the target. - [Brand image](/cursors/animated-brand/) (`brand`, animated): Your own image as the pointer, with labels and direction arrows still available. --- # Add a custom cursor with Glint You are adding a website cursor from Glint (npm: `glint-cursors`). Follow these steps; don't improvise extra CSS. 1. Ask the user in one line: "What kind of site is this, which sections should get the custom cursor, and do you want a simple static cursor or an animated one?" Keep the cursor out of: checkout, cart and payment; sign-in, sign-up and other form-heavy flows; dashboards and admin tools; health, government and education services; anywhere the cursor itself is part of a task (drawing, maps, editors, games). If the site has those areas, scope the cursor to its marketing sections (for example `#hero`) or skip it. 2. Choose a set. **Static** (default recommendation): CSS and SVG, no JavaScript, changes between normal and hover with no animation. **Animated**: grows, morphs, shows labels or arrows; its runtime loads for a fine, hover-capable primary pointer when accessibility settings allow it. 3. Choose a cursor. Static ids: bold-arrow, chevron-arrow, design-arrow, head-arrow, hollow-arrow, line-arrow, paper-plane, sharp-arrow, slim-arrow, soft-arrow, teardrop, wedge-arrow, asterisk, capsule, corners, diamond, dot, plus, ring, target, x-mark, hexagon, kite, orbit, quad, square, triangle, pixel-arrow, pixel-chevron, pixel-diamond, pixel-plus, pixel-square, pixel-x, sketch-arrow, sketch-chevron, sketch-circle, sketch-plus, sketch-square, sketch-x, blob, bolt, bubble, cloud, heart, moon, petal, star, duo-arrow, duo-diamond, duo-dot, duo-square, duo-star. Animated ids: morph, dot-ring, elastic, squish, blob, spotlight, arrow-chip, brand. Variants: light (dark fill, for light pages), dark (light fill, for dark pages), accent (brand colour). 4. Install. - Static: `npm install --save-dev glint-cursors`, then `npx cursor-static --variant [--accent "#hex"] [--scope ""] --out public/cursors`, then link `/cursors/-.css` once in the document head. - Animated: `npm install glint-cursors`, then in the browser only: `const cursor = await loadCursor({ family: '', variant, scope, mode: 'replace' })` from `glint-cursors/animated`; call `cursor?.destroy()` on unmount. - Never use the universal selector `*` or `!important` for cursors. They override text, not-allowed, zoom and every other native state. - Preserve text, not-allowed, wait, grab, zoom and resize cursors. CSS inheritance and existing site rules can affect the result, so test these states and use a native region where needed. - Do not add broad `cursor:` rules to links or buttons to "help". Generated hover rules exclude disabled controls; verify their cursor explicitly, since it may inherit a custom cursor. - Do not hide or restyle focus outlines. Keyboard users must see focus exactly as before. - Never convey information only through the cursor; anything it signals must also be on the page. - Treat custom cursors as progressive enhancement. Test fallbacks with the site CSS and browser; scope away from sensitive areas or use `data-cursor="native"` for regions that need the native cursor. - Check a fine, hover-capable primary pointer, forced colours, increased contrast and reduced motion. Confirm the native fallback where appropriate; Static CSS requires `prefers-contrast: no-preference`. - Built-in variants validate 3:1 contrast between fill and keyline, not against every background or custom brand image. Check visibility against the actual page. - Plain text and contenteditable regions may lose the text I-beam. Animated replace mode does not preserve the OS pointer size or colour; Windows scaling for Static is not verified. - Animated cursors hide during keyboard navigation, yield to many native cursor states and over iframe elements, and use enhance mode inside an iframe. Test error and pointer-exit fallbacks; they are not guaranteed. - Test with keyboard only, a screen magnifier, 200% zoom and a large OS pointer. If you cannot perform a check, report it as unverified and give the user the manual check. - Start the cursor once per page, in the browser only. Call `destroy()` on unmount; never create a second instance. 5. Hooks: `data-cursor="native"` (opt out an element), `data-cursor="hover"` (opt in a custom clickable element); Animated only: `data-cursor-label="View"`, `data-cursor-direction="left|right|up|down"`. 6. Offer a "Use default cursor" toggle: `setNativePreference(true|false)` from `glint-cursors/preference`, or set `data-cursor="native"` on ``. 7. Verify: hover cursor on links and buttons; I-beam kept in text fields; disabled controls keep their cursor; focus outlines unchanged; no `*` or `!important` added. --- # Glint catalog Every cursor with its default install steps (npm route, light variant, whole-window scope). Change `--variant`, `--accent` and `--scope` (Static) or the `loadCursor` options (Animated) as the user needs. ## Core arrows Everyday pointers. ### Bold arrow (`bold-arrow`) Hover adds a click badge. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static bold-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Chevron arrow (`chevron-arrow`) Open corner chevron. Hover doubles it. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static chevron-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Design arrow (`design-arrow`) Original dart pointer. Hover adds a square selection handle. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static design-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Head arrow (`head-arrow`) Arrowhead only. Hover grows the tail. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static head-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Hollow arrow (`hollow-arrow`) Hover fills the outline with accent. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static hollow-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Line arrow (`line-arrow`) Hotspot is the centreline vertex of the head. Hover fills the head. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static line-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Paper plane (`paper-plane`) Crease is drawn in the keyline colour. Hover adds two speed lines. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static paper-plane --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sharp arrow (`sharp-arrow`) Crisp classic arrow. Hover adds two click ticks. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sharp-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Slim arrow (`slim-arrow`) Tall, narrow arrow. Hover tilts 12 degrees around the tip. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static slim-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Soft arrow (`soft-arrow`) Hover tilts 16 degrees around the tip. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static soft-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Teardrop (`teardrop`) Pointed drop. Hover adds an accent eye. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static teardrop --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Wedge arrow (`wedge-arrow`) Plain wedge, no tail. Hover cuts a notch across it. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static wedge-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Marks Centred marks; hotspot in the middle. ### Asterisk (`asterisk`) 20 px asterisk. Hover swaps to a 28 px four-point sparkle. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static asterisk --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Capsule (`capsule`) Horizontal pill, 22 px. Hover stretches to 30 px. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static capsule --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Corners (`corners`) Selection brackets. Hover spreads them and adds a centre dot. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static corners --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Diamond (`diamond`) 20 px diamond. Hover outlines a 29 px diamond around a centre. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static diamond --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Dot (`dot`) 20 px, growing to 28 px. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static dot --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Plus (`plus`) 20 px plus. Hover adds a 28 px ring. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static plus --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Ring (`ring`) 22 px ring, filling to a 26 px disc. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static ring --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Target (`target`) Bullseye. Hover opens the ring to 26 px. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static target --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### X mark (`x-mark`) Hover adds a 28 px ring. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static x-mark --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Geometric Hover: outline around a light inside and an accent core. ### Hexagon (`hexagon`) Geometric pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static hexagon --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Kite (`kite`) Geometric pack. Pointer with the tip at 4 4. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static kite --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Orbit (`orbit`) Geometric pack. Planet and moon; hover opens the planet into an orbit. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static orbit --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Quad (`quad`) Geometric pack. Hover spreads the four squares around an accent core. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static quad --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Square (`square`) Geometric pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static square --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Triangle (`triangle`) Geometric pack. Too small for a core, so hover flips and grows instead. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static triangle --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Pixel 2 px blocks and a stepped keyline. Hover grows by whole blocks. ### Pixel arrow (`pixel-arrow`) 2 px blocks with a stepped keyline. Hover adds a pixel badge. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Pixel chevron (`pixel-chevron`) Pixel pack. Corner pointer; hover adds a stepped shaft. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-chevron --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Pixel diamond (`pixel-diamond`) Pixel pack. Hover outlines a larger diamond. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-diamond --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Pixel plus (`pixel-plus`) Pixel pack. 18 px, hover 26 px. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-plus --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Pixel square (`pixel-square`) Pixel pack. Hover outlines a larger square. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-square --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Pixel X (`pixel-x`) Pixel pack. 18 px, hover 26 px. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static pixel-x --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Sketch Hand-drawn wobble. Hover fills in. ### Sketch arrow (`sketch-arrow`) Edges wobble, vertices stay exact. Hover fills it in. Hotspots: normal 5, 5; hover 5, 5. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sketch chevron (`sketch-chevron`) Sketch pack. Hover doubles it. Hotspots: normal 5, 5; hover 5, 5. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-chevron --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sketch circle (`sketch-circle`) Sketch pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-circle --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sketch plus (`sketch-plus`) Sketch pack. Hover circles it. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-plus --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sketch square (`sketch-square`) Sketch pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-square --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Sketch X (`sketch-x`) Sketch pack. Hover circles it. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static sketch-x --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Playful Shapes for playful sites. Hover grows or adds a mark. ### Blob (`blob`) Playful pack. Organic shape that swells and turns on hover. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static blob --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Bolt (`bolt`) Playful pack. Hover grows and turns accent. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static bolt --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Bubble (`bubble`) Playful pack. Speech bubble with its tail at the hotspot; hover shows typing dots. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static bubble --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Cloud (`cloud`) Playful pack. Hover brings out an accent sun. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static cloud --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Heart (`heart`) Playful pack. Hover grows and turns accent. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static heart --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Moon (`moon`) Playful pack. Hover grows and adds an accent sparkle. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static moon --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Petal (`petal`) Playful pack. Hover turns the flower and opens an accent centre. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static petal --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Star (`star`) Playful pack. Hover grows, tilts and turns accent. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static star --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Duotone Accent core that grows on hover. ### Duotone arrow (`duo-arrow`) Duotone pack. Hover turns the body accent with a fill rim. Hotspots: normal 4, 4; hover 4, 4. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static duo-arrow --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Duotone diamond (`duo-diamond`) Duotone pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static duo-diamond --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Duotone dot (`duo-dot`) Duotone pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static duo-dot --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Duotone square (`duo-square`) Duotone pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static duo-square --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ### Duotone star (`duo-star`) Duotone pack. Hotspots: normal 16, 16; hover 16, 16. 1. Install the generator as a dev dependency: `npm install --save-dev glint-cursors`. 2. Generate the files (pick the site's public/static folder; `public/cursors` is an example): ```sh mkdir -p public/cursors && npx cursor-static duo-star --out public/cursors ``` 3. Load the CSS once, site-wide, in the document `` (or import it from the root layout): ```html ``` In React or Next.js, add that `` to the root layout (`app/layout.tsx` or `index.html`), or `import` the CSS file from the root component. No JavaScript is involved. 4. Do not edit the generated CSS by hand. To change variant, accent or scope, regenerate it. ## Animated Morph, trail, label and arrow cursors. The runtime loads for a fine, hover-capable primary pointer when accessibility settings allow it. ### Morph (`morph`) A dot that becomes a ring on hover. The default family, built into the runtime. Labels show as a pill; directions as a round arrow badge. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "morph" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Dot & ring (`dot-ring`) An exact dot with a ring that trails behind it and grows on hover. In enhance mode it is only the trailing ring around the native pointer. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "dot-ring" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Elastic (`elastic`) Like dot & ring, but the ring follows on a spring: a small overshoot, then it settles. Under reduced motion or on a slow page the ring snaps to the pointer instead of springing. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "elastic" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Squish (`squish`) A dot that stretches along the direction of movement and rounds out when it stops. Frame-rate independent. Under reduced motion or on a slow page it stays a plain dot. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "squish" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Blob (`blob`) A dot that swells into a wobbly ring on hover with an elastic overshoot. CSS only. No per-frame work beyond position. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "blob" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Spotlight (`spotlight`) A dot with a soft accent glow that trails it. Meant for one section. Pass a scope: the PRD allows a single section-scoped spotlight. Decorative only; no blend modes. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "spotlight", scope: "#hero" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Arrow & chip (`arrow-chip`) A real arrow pointer with a label chip that sits beside it, never covering the target. Hotspot is the arrow tip (4, 4). 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "arrow-chip" }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. ### Brand image (`brand`) Your own image as the pointer, with labels and direction arrows still available. Rendered as an , so a supplied SVG can't run script. Size 8–64 px. Options: - `brand.src` (url, required): Image URL for the pointer. - `brand.hotspot` ([x, y]): Click point inside the image, in pixels. - `brand.size` (integer): Rendered size in pixels (8–64). - `brand.hoverSrc` (url): Optional image to swap to on hover. 1. Install the package as a regular dependency (it ships runtime code): `npm install glint-cursors`. 2. Start the cursor once, on the client, after the page has mounted: ```js import { loadCursor } from 'glint-cursors/animated'; const cursor = await loadCursor({ family: "brand", brand: { src: "/brand-cursor.svg", hotspot: [0, 0] } }); // null when pointer or accessibility settings block it ``` React or Next.js: use a client component and coordinate overlapping loads and cleanup. See the React guide at /docs/animated-react/ and the Next.js guide at /docs/animated-nextjs/. 3. `loadCursor` is safe to import during SSR; call it in the browser and call `cursor?.destroy()` on unmount. 4. Brand image: replace `/brand-cursor.svg` with the site's own image (8–64 px; set the hotspot to its click point). It renders as an ``, so it can't run script.