The rectangle icon: a 24 by 24 stroke glyph that takes its colour from the text around it.
registry/behivetech/icons/rectangle at v0.1.0, snapshotted 2026-11-10
rectangle.tsx
1import { createIcon } from "@behivetech/icons.base";23/** The rectangle icon: a stroke glyph on a 24 by 24 grid that inherits the text colour. */4export const RectangleIcon = /*#__PURE__*/ createIcon(5 "RectangleIcon",6 <rect x="2" y="5" width="20" height="14" rx="1" />,7);89export default RectangleIcon;
index.ts
1export { RectangleIcon, default } from "./rectangle.js";
rectangle.example.tsx
1import { RectangleIcon } from "./rectangle.js";23/** The icon at each size; it takes its colour from the surrounding text. */4export const RectangleIconSizes = () => (5 <>6 <RectangleIcon size="sm" />7 <RectangleIcon />8 <RectangleIcon size="lg" />9 <RectangleIcon size="xl" />10 </>11);1213/** Named with `titleAccess`, so assistive technology announces it. */14export const NamedRectangleIcon = () => (15 <RectangleIcon titleAccess="Rectangle" />16);