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

pnpm add @behivetech/icons.image
  • 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/image at v0.1.0, snapshotted 2026-11-10

image.tsx
1import { createIcon } from "@behivetech/icons.base";
2
3/** The image icon: a stroke glyph on a 24 by 24 grid that inherits the text colour. */
4export const ImageIcon = /*#__PURE__*/ createIcon(
5 "ImageIcon",
6 <>
7 <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
8 <circle cx="8.5" cy="8.5" r="1.5" />
9 <path d="M21 15l-5-5L5 21" />
10 </>,
11);
12
13export default ImageIcon;
index.ts
1export { ImageIcon, default } from "./image.js";
image.example.tsx
1import { ImageIcon } from "./image.js";
2
3/** The icon at each size; it takes its colour from the surrounding text. */
4export const ImageIconSizes = () => (
5 <>
6 <ImageIcon size="sm" />
7 <ImageIcon />
8 <ImageIcon size="lg" />
9 <ImageIcon size="xl" />
10 </>
11);
12
13/** Named with `titleAccess`, so assistive technology announces it. */
14export const NamedImageIcon = () => <ImageIcon titleAccess="Image" />;