--- title: 'previewHead' --- Parent: [main.js|ts configuration](./main-config.md) Type: `(head: string) => string` Programmatically adjust the [preview `
`](../configure/story-rendering.md#adding-to-head) of your Storybook. Most often used by [addon authors](../addons/writing-presets.md#ui-configuration).