Skip to content

ParamTable

While standard Markdown tables work, they often lack the CSS scoping required to look good inside a premium dark theme. The <ParamTable> component wraps your markdown table in a specialized div that applies custom borders, muted headers, and hover row styling.

import ParamTable from '@/components/docs/ParamTable.astro';
&lt;ParamTable title="Agent Configuration"&gt;
| Setting | Type | Description |
|---|---|---|
| `temperature` | `number` | Controls the randomness of the model output. |
| `max_tokens` | `number` | The maximum length of the response. |
&lt;/ParamTable&gt;

Agent Configuration

SettingTypeDescription
temperaturenumberControls the randomness of the model output.
max_tokensnumberThe maximum length of the response.
PropTypeRequiredDescription
titlestringNoThe header title for the table. Defaults to “Parameters”.