---
url: /api/packages/utils/src/functions/camelCase.md
---
[pantoken-root](../../../../index.md) / [packages/utils/src](../index.md) / camelCase

# Function: camelCase()

> **camelCase**(`kebab`): `string`

Beta

Convert a kebab-case string to camelCase (`color-background-brand` → `colorBackgroundBrand`).

## Parameters

### kebab

`string`

## Returns

`string`

## Example

```ts
import { camelCase } from "@pantoken/utils";

camelCase("color-background-brand"); // → "colorBackgroundBrand"
```
