Icons Changelog
@repo/icons
2.0.0
Major Changes
-
#2316
13325cfThanks @mitchellcarroll! - Updated@cfa/iconscolor presets to use@cfa/design-tokens-coretokens and renamed preset values.- Renamed
color="primary"tocolor="brand"on brand and system icons.color="white"is unchanged. - Brand and system icons still default to
currentColorwhen nocolorprop is set.brandfollows the active theme, red or navy. - Logo components use
color="brand-red"(default) andcolor="white"only.brand-redis fixed CFA red for trademark compliance. - Requires
@cfa/design-tokens-coreCSS where preset colors are used.
See
packages/icons/MIGRATION.mdfor the full migration guide.Migration
// Brand and system icons<Restaurant color="primary" size="md" /> → <Restaurant color="brand" size="md" /><Close color="white" />// Logos<Symbol color="primary" /> → <Symbol color="brand-red" />// Still supported. Inherits from the parent when no color prop is set.<IconButton variant="primary"><Close /></IconButton> - Renamed
Minor Changes
-
#2083
862a9e6Thanks @stevegreco! - Added programmatic query APIs and an MCP server so agents can look up CFA components, props, tokens, and icons without reading source.@cfa/design-system-mcpships thecfa-design-system-mcpserver withlist_components,get_component_props,get_component_guidance,search_tokens,suggest_token,search_icons, andget_icon.@cfa/react-core/queryexportslistComponents,getComponentProps, andgetComponentGuidance.@cfa/design-tokens-core/queryexportssearchTokensandsuggestTokens.@cfa/icons/queryexportssearchIconsandgetIcon.
-
#2377
ad0d7feThanks @stevegreco! - Added theAppssystem icon to@cfa/icons/system. -
#2335
14a6f0bThanks @stevegreco! - Brand, system, and logo entry points now export shared icon props types.- Import
BrandSystemIconPropsfrom@cfa/icons/brandor@cfa/icons/system. - Import
LogoIconPropsfrom@cfa/icons/logos.
import { Home, type BrandSystemIconProps } from "@cfa/icons/brand";function renderIcon(props: BrandSystemIconProps) {return <Home {...props} />;} - Import
2.0.0-beta.7
Minor Changes
- #2377
ad0d7feThanks @stevegreco! - Added theAppssystem icon to@cfa/icons/system.
2.0.0-beta.6
Minor Changes
-
#2335
14a6f0bThanks @stevegreco! - Brand, system, and logo entry points now export shared icon props types.- Import
BrandSystemIconPropsfrom@cfa/icons/brandor@cfa/icons/system. - Import
LogoIconPropsfrom@cfa/icons/logos.
import { Home, type BrandSystemIconProps } from "@cfa/icons/brand";function renderIcon(props: BrandSystemIconProps) {return <Home {...props} />;} - Import
2.0.0-beta.5
Major Changes
-
#2316
13325cfThanks @mitchellcarroll! - Updated@cfa/iconscolor presets to use@cfa/design-tokens-coretokens and renamed preset values for clarity.- Renamed
color="primary"tocolor="brand"on brand and system icons.color="white"is unchanged. - Brand and system icons still default to
currentColorwhen nocolorprop is set.brandfollows the active theme (red or navy). - Logo components use
color="brand-red"(default) andcolor="white"only.brand-redis fixed CFA red for trademark compliance. - Requires
@cfa/design-tokens-coreCSS where preset colors are used. Aligns with the semantic color token renames in@cfa/design-tokens-core(content-brand,background-accent-red).
See
packages/icons/MIGRATION.mdfor the full migration guide.Migration
// Brand and system icons<Restaurant color="primary" size="md" /> → <Restaurant color="brand" size="md" /><Close color="white" />// Logos<Symbol color="primary" /> → <Symbol color="brand-red" />// Still supported — inherit from parent when no color prop is set<IconButton variant="primary"><Close /></IconButton> - Renamed
Minor Changes
-
#2083
862a9e6Thanks @stevegreco! - Add programmatic query APIs and an MCP server so agents and tooling can discover CFA components, props, tokens, and icons without reading source.@cfa/design-system-mcp: New MCP server (cfa-design-system-mcp) exposinglist_components,get_component_props,get_component_guidance,search_tokens,suggest_token,search_icons, andget_icon.@cfa/react-core/query:listComponents,getComponentProps, andgetComponentGuidancefor component catalog, prop contracts, and generated usage docs.@cfa/design-tokens-core/query:searchTokensandsuggestTokensfor token lookup and CSS-property-based suggestions.@cfa/icons/query:searchIconsandgetIconfor icon discovery and raw SVG retrieval.
0.7.0
Minor Changes
- #2165
93e5fbdThanks @stevegreco! - Added the newSelectoricon
Patch Changes
- #2208
d75460bThanks @MarcusWilderCFA! - Ensure icons are tree-shaken by explicitly marking the package as side-effect free
0.7.0-beta.1
Patch Changes
- #2208
d75460bThanks @MarcusWilderCFA! - Ensure icons are tree-shaken by explicitly marking the package as side-effect free
0.7.0-beta.0
Minor Changes
- #2165
93e5fbdThanks @stevegreco! - Added the newSelectoricon
0.6.1
Patch Changes
- #1797
10e879fThanks @stevegreco! - Fixed issue with the stroke width on theHelpOutlinedicon
0.6.0
Minor Changes
- #1786
471c05fThanks @stevegreco! - Added newHelpOutlinedandHelpFilledsystem icons
0.5.1
Patch Changes
- #1729
3d3fb5cThanks @stevegreco! - First release of new package
0.5.0
Minor Changes
-
#1630
cd68a51Thanks @stevegreco! - This package is now being published in a “pre” 1.0 state to allow us to test the package and ensure everything is working correctly.Icons can be imported in the following way.
Terminal window pnpm install @cfa/iconsimport { ChickenSandwich } from "@cfa/icons/brand";import { Check } from "@cfa/icons/system";import { Symbol } from "@cfa/icons/logos";They can then be utilized using the same
sizeandcolorprops as before.
0.4.0
Minor Changes
- #1493
8a61111Thanks @stevegreco! - Added a newxs(14px) size variant forbrand-iconsandsystem-icons.
0.3.1
Patch Changes
- #843
f089a1eThanks @stevegreco! - Updated dependencies to be up-to-date
0.3.0
Minor Changes
- #683
258fd95Thanks @stevegreco! - - Update the CLI to allow for different SVGR templates to be used for Icons and Logos- Added new
generate-logoscommand to generate logo components
- Added new
0.2.1
Patch Changes
- #489
3f53c68Thanks @stevegreco! - Added the ability to use thestyleprop on our icon components