---
title: Prompts
description: Legacy prompt page kept for compatibility; use System Prompts.
---

This page is maintained for older links.

The canonical prompt documentation is:

- [System Prompts](/docs/openui-lang/system-prompts)

Quick example:

```ts
import { openuiLibrary, openuiPromptOptions } from "@openuidev/react-ui";

const systemPrompt = openuiLibrary.prompt(openuiPromptOptions);
```

<Callout type="info">
  Prompt generation behavior is documented in detail on the System Prompts page.
</Callout>
