> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Parameter field > Learn how to document API parameters with Fern's ParamField component. Format types, requirements, defaults, and descriptions consistently. The ParamField component documents API parameters and properties with consistent formatting for type, requirements, default values, and descriptions. ## Usage **`username`** `string` — required The user's display name --- **`limit`** `number` — default: 50 Maximum number of items to return --- **`Markdown`** ```jsx Markdown The user's display name Maximum number of items to return ``` ## Variants ### Deprecated parameter **`api_key`** `string` — deprecated Use OAuth authentication instead --- **`Markdown`** ```jsx Markdown Use OAuth authentication instead ``` ### Union types **`status`** `'active' | 'inactive' | 'pending'` — default: active The current status of the user account --- **`Markdown`** ```jsx Markdown The current status of the user account ``` ## Properties **`path`** `string` The name of the parameter (e.g., "username", "limit") --- **`type`** `string` — required The data type of the parameter (e.g., "string", "number", "boolean") --- **`required`** `boolean` Indicates if the parameter is required. Displays a "Required" label when true. --- **`default`** `string` The default value for the parameter, if any --- **`deprecated`** `boolean` Marks the parameter as deprecated. --- **`toc`** `boolean` Whether to include the parameter in the table of contents. Defaults to `false`. --- > Learn how to document API parameters with Fern's ParamField component. Format types, requirements, defaults, and descriptions consistently.