---
url: /api/tools/demo/src/interfaces/ExampleSrcdocOptions.md
---
[pantoken-root](../../../../index.md) / [tools/demo/src](../index.md) / ExampleSrcdocOptions

# Interface: ExampleSrcdocOptions

Options for [buildExampleSrcdoc](../functions/buildExampleSrcdoc.md).

## Properties

### cssUrls

> **cssUrls**: readonly `string`\[]

Stylesheet URLs to load into the iframe's `<head>` (tokens, components, utilities, icons, …).

***

### scriptUrls?

> `optional` **scriptUrls?**: readonly `string`\[]

Browser script URLs to load after the example markup (interaction bundles, when needed).

***

### card?

> `optional` **card?**: `boolean`

Wrap `html` in the shared `.instui-card` surface (default `true`).

***

### dir?

> `optional` **dir?**: `"ltr"` | `"rtl"`

Text direction for the isolated document's `<html>` (default `"ltr"`) — a srcdoc never inherits it from the embedding page.
