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

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

box.tsx
1import { createIcon } from "@behivetech/icons.base";
2
3/** The box icon: a stroke glyph on a 24 by 24 grid that inherits the text colour. */
4export const BoxIcon = /*#__PURE__*/ createIcon(
5 "BoxIcon",
6 <>
7 <path d="M21 8 12 3 3 8l9 5 9-5Z" />
8 <path d="M3 8v8l9 5 9-5V8" />
9 <path d="M12 13v8" />
10 </>,
11);
12
13export default BoxIcon;
index.ts
1export { BoxIcon, default } from "./box.js";
box.example.tsx
1import { BoxIcon } from "./box.js";
2
3/** The icon at each size; it takes its colour from the surrounding text. */
4export const BoxIconSizes = () => (
5 <>
6 <BoxIcon size="sm" />
7 <BoxIcon />
8 <BoxIcon size="lg" />
9 <BoxIcon size="xl" />
10 </>
11);
12
13/** Named with `titleAccess`, so assistive technology announces it. */
14export const NamedBoxIcon = () => <BoxIcon titleAccess="Box" />;