Skip to content

[Tracking] Decompose Icon component #95157

Closed
4 of 4 issues completed
Closed

Description

@mountiny

Objective

Decompose the monolithic Icon component into focused primitives so call sites use the right API and the legacy Icon shell can eventually be removed.

Milestones

M1 — Split Icon into primitives

Extract BaseIcon, InlineIcon, MultiGestureIcon, supporting hooks, and CONST.ICON_SIZE. Keep Icon as a backward-compatible facade.

M2 — Migrate MultiGestureIcon usages

Replace Icon + enableMultiGestureCanvas call sites with direct MultiGestureIcon usage, then remove that branch from Icon.

M3 — Migrate InlineIcon usages

Replace Icon + inline call sites with direct InlineIcon usage, then remove that branch from Icon.

M4 — Cleanup Icon legacy size boolean props

Remove deprecated extraSmall/small/medium/large boolean props and the resolveIconSize adapter after M2/M3 migrations complete.

Sub-issues

Related code

Issue OwnerCurrent Issue Owner: @jmusial

Activity

  1. added
    InternalRequires API changes or must be handled by Expensify staff
    on Jul 2, 2026
  2. jmusial commented on Jul 22, 2026

    @jmusial
    Contributor

    All sub issue PRs have been merged, nothing left to implement here.

  3. roryabraham commented on Jul 28, 2026

    @roryabraham
    Contributor

    Closing this tracker since we're just awaiting payment on the sub-issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffTaskWeeklyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions