---
title: 'framework'
---
(**Required**)
Parent: [main.js|ts configuration](./main-config.md)
Type: `FrameworkName | { name: FrameworkName; options?: FrameworkOptions }`
Configures Storybook based on a set of [framework-specific](../configure/frameworks.md) settings.
## `name`
Type: `string`
For available frameworks and their options, see their respective [documentation](https://github.com/storybookjs/storybook/tree/next/code/frameworks).
## `options`
Type: `Record`
While many options are specific to a framework, there are some options that are shared across some frameworks, e.g. those that configure Storybook's [builder](./main-config-core.md#builder).
### `options.builder`
Type: `Record`
Configures Storybook's builder, [Vite](../builders/vite.md) or [Webpack](../builders/webpack.md).