> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Case

> Change text case (upper, lower, capitalize)

## Overview

The `case` transformation changes the case of text (uppercase, lowercase, or capitalize).

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
case(<variable>, type="upper")
```

## Parameters

| Parameter  | Type   | Required | Description                                        |
| ---------- | ------ | -------- | -------------------------------------------------- |
| `variable` | string | Yes      | The text to transform                              |
| `type`     | string | Yes      | Case type: `"upper"`, `"lower"`, or `"capitalize"` |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
case(<variable>, type="upper")
case(<variable>, type="lower")
case(<variable>, type="capitalize")
```
