# TuilGhosttyStoryOptions

Source: /tuil/docs/reference/packages/ghostty-web/api/tuil-ghostty-story-options
Locale: en

interface exported by @mwillbanks/tuil-ghostty-web.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-ghostty-web`.

```ts
export interface TuilGhosttyStoryOptions {
  readonly storyId: string;
  readonly variant: string;
  readonly args?: Readonly<Record<string, unknown>>;
  readonly controls?: Readonly<Record<string, unknown>>;
}
```

## Members [#members]

| Member     | Type                                             | Required | Description                                                                               | Related types |
| ---------- | ------------------------------------------------ | -------- | ----------------------------------------------------------------------------------------- | ------------- |
| `storyId`  | `string`                                         | Yes      | The `storyId` member uses the `string` contract.                                          | —             |
| `variant`  | `string`                                         | Yes      | The `variant` member uses the `string` contract.                                          | —             |
| `args`     | `Readonly<Record<string, unknown>> \| undefined` | No       | The `args` member uses the `Readonly<Record<string, unknown>> \| undefined` contract.     | —             |
| `controls` | `Readonly<Record<string, unknown>> \| undefined` | No       | The `controls` member uses the `Readonly<Record<string, unknown>> \| undefined` contract. | —             |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/ghostty-web/src/browser.tsx)

## Package [#package]

[@mwillbanks/tuil-ghostty-web](/tuil/docs/reference/packages/ghostty-web)
