---
title: "Pricing"
description: "Plan cards from |Plan|Price|Period|Features (; separated)|Note."
---

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

# Pricing

```gistui
root = Pricing(tiers, highlight:"Team", cta:"Choose")
tiers = |Plan|Price|Period|Features|Note
|Starter|$0|month|1 project; Community support|For side projects
|Team|$29|seat / month|Unlimited projects; SSO; Priority support|Most teams start here
|Enterprise|Custom||Self-hosting; SLA; Audit logs|Talk to us
```

## Signature

This is the line a model reads in the system prompt.

```gistui
Pricing(data:data, highlight:str, cta:str, do:[@step…])
```

- **Group:** Data
- **Children:** No
- **Positional arguments:** `data` (a trailing `?` means it may be left out)

## Props

| Prop | Type | How to write it | Notes |
|---|---|---|---|
| `data` | table | positional, required |  |
| `highlight` | string | named: `highlight:…` | plan to feature |
| `cta` | string | named: `cta:…` |  |
| `do` | action list | named: `do:…` | steps run on click |

## Use your own component

Keep the name and schema, swap what is drawn. The prompt and the model's output do not change.

### React

```tsx
import { ui } from "@gistui/react/ui";

const lib = ui.extend({ Pricing: MyPricing });
<GistUI library={lib} stream={response.body} />;
```
### Vue

```vue
<GistUI :source="answer" :components="{ Pricing: MyPricing }" />
```
### Svelte

```svelte
<GistUI source={answer} components={{ Pricing: MyPricing }} />
```
### Solid

```tsx
<GistUI source={answer()} components={{ Pricing: MyPricing }} />
```
### Vanilla

```ts
import { ui } from "@gistui/vanilla/ui";

const lib = ui.extend({ Pricing: (ctx) => ({ el: myElement(ctx) }) });
```

See [Custom components](/docs/guides/custom-components/) for the full contract. Style hook: `[data-gistui="Pricing"]`.

Source: https://gistui.com/docs/components/data/pricing/index.mdx
