github primer/octicons v19.30.0

5 hours ago

Minor Changes

  • #1245 b6bfb8bd Thanks @copilot-swe-agent! - Optimize @primer/octicons-react for codesplitting and tree-shaking. Each icon is now emitted as its own module and exposed via a ./* subpath export, so icons can be dynamically imported and code-split (e.g. import('@primer/octicons-react/AlertIcon')). The generated icons are now finished React.forwardRef components built on a shared renderOcticon runtime instead of runtime createIconComponent factory calls. Existing import {AlertIcon} and import * as Octicons usage continues to work unchanged.

Don't miss a new octicons release

NewReleases is sending notifications on new releases.