Files
zeekayandHanzo Dev fe7cb10494 icons: give this package a source tree, and emit the Icon class
@hanzo/[email protected].6 was published with no source repository behind
it: on npm it is byte-identical to @posthog/[email protected].6 with only the package
name changed, so the fork existed as a published artifact and nowhere else.
The source here is recovered from that artifact's sourcemaps.

Two things change from 0.36.6.

Icons emit className "Icon" instead of "LemonIcon". Our stylesheets moved to
.Icon, so every icon from this package lost its only sizing rule and rendered
at full viewBox size. Insights carries a transitional rule matching both
selectors; this lets that rule go away.

Build output is dist/icons.* instead of dist/posthog-icons.*, so the upstream
project name no longer appears in consumer-visible paths.

The icon payload itself is untouched: 319 exports and 439 SVG path definitions,
identical to 0.36.6.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-01 10:36:06 -07:00

998 B

@hanzo/insights-icons

The product icon set used by Hanzo Insights — 319 React SVG icon components.

import { IconTrends } from '@hanzo/insights-icons'

<IconTrends />

Every icon renders an <svg> carrying the Icon class, which is the sizing hook the @hanzo/elements design-system stylesheet keys on. Icons inherit currentColor and size from that class, so colour and size are controlled by CSS, not props.

Build

pnpm install
pnpm build      # -> dist/icons.es.js, dist/icons.cjs.js, dist/index.d.ts

Provenance

Derived from the MIT-licensed @posthog/icons. See NOTICE for the list of changes and LICENSE for the retained upstream copyright.

Prior to this repository, @hanzo/insights-icons was published without a source tree of its own — version 0.36.6 on npm was a byte-identical republish of @posthog/[email protected] with only the package name changed. This repository is that package's actual source.