---
url: /reference/@cssdoc/cssdoc/type-aliases/NameCase.md
---
# Type Alias: NameCase

```ts
type NameCase = "pascalCase" | "camelCase" | "lowercase" | string & object;
```

Defined in: [packages/providers/src/types.ts:277](https://github.com/thedannywahl/cssdoc/blob/main/packages/providers/src/types.ts#L277)

A required name case: a built-in preset, or a custom regular-expression source string tested
against the class name. `(string & {})` keeps preset autocomplete while accepting any pattern.
