The cursor icon: a 24 by 24 stroke glyph that takes its colour from the text around it.

pnpm add @behivetech/icons.cursor
  • icon

This is the snapshot of v0.1.0, the current version, as recorded on 2026-11-10. The live page runs its examples →

registry/behivetech/icons/cursor at v0.1.0, snapshotted 2026-11-10

cursor.tsx
1import { createIcon } from "@behivetech/icons.base";
2
3/** The cursor icon: a stroke glyph on a 24 by 24 grid that inherits the text colour. */
4export const CursorIcon = /*#__PURE__*/ createIcon(
5 "CursorIcon",
6 <path d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" />,
7);
8
9export default CursorIcon;
index.ts
1export { CursorIcon, default } from "./cursor.js";
cursor.example.tsx
1import { CursorIcon } from "./cursor.js";
2
3/** The icon at each size; it takes its colour from the surrounding text. */
4export const CursorIconSizes = () => (
5 <>
6 <CursorIcon size="sm" />
7 <CursorIcon />
8 <CursorIcon size="lg" />
9 <CursorIcon size="xl" />
10 </>
11);
12
13/** Named with `titleAccess`, so assistive technology announces it. */
14export const NamedCursorIcon = () => <CursorIcon titleAccess="Cursor" />;