FoundryKit

Integration

Where the shared cn helper shows up across FoundryKit.

Integration

  • Primitives, Components, and Blocks all rely on cn for consistent class merging.
  • If your app already uses FoundryKit UI packages, importing cn from those packages is often enough.
  • Import from @foundrykit/utils directly when you want the standalone helper without taking on a UI package dependency.

On this page