FoundryKit

API

Public exports from @foundrykit/utils.

API

import { cn } from '@foundrykit/utils';
cn('rounded-md px-4 py-2', isActive && 'bg-primary', className);

That is the full current surface of the package. If additional utilities are added later, they should be documented here only after they exist in src/index.ts.

On this page