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

# @rixx-ui/react/server API

> Server-safe catalog, generation instruction, and Markdown conversion exports.

The server entry does not import React components.

```ts theme={null}
import {
  coreCatalog,
  createRUIInstructions,
  fromMarkdown,
  type ComponentCatalog,
} from "@rixx-ui/react/server";
```

## Exports

| Export                  | Signature/result                                         |
| ----------------------- | -------------------------------------------------------- |
| `coreCatalog`           | First-party `ComponentCatalog`                           |
| `createRUIInstructions` | `(prompt: string, catalog?: ComponentCatalog) => string` |
| `fromMarkdown`          | `(markdown: string) => string`                           |
| `ComponentCatalog`      | Type-only catalog contract                               |

`createRUIInstructions` selects relevant component contracts and returns text
for the host to include in its own model request. It does not call a provider,
read environment variables, or expose configuration.

`fromMarkdown` produces a RUI source fragment containing safe Markdown content;
the receiving `RUIRenderer` still validates and commits it.
