# Transitions `transition` declares a transition **into the next clip**, set on the **outgoing** clip and rendered centered on the cut. It is valid only on direct children of [``](./sequences.md). ```tsx ``` ```ts type TransitionSpec = { type?: TransitionType; // default "dissolve" duration?: Time; // length, centered on the cut; default 1 second }; ``` ## Types The editor's transition inspector options: | `type` | Effect | | ------ | ------ | | `"dissolve"` (default) | Crossfade between the two clips. | | `"slideFromRight"` | The next clip slides in from the right. | | `"slideFromLeft"` | The next clip slides in from the left. | | `"fadeToBlack"` | Fade out to black, then in to the next clip. | | `"fadeToWhite"` | Fade out to white, then in to the next clip. | ## Semantics - `duration` takes any [time format](./timing.md#time-formats) and is centered on the cut: half plays before it, half after. - A **partial value merges** into the clip's existing transition: `transition={{ duration: 2 }}` keeps the current type; `transition={{}}` applies the defaults. - **`null` removes** the clip's transition. - Part of the shared property table: [`dapi node patch`](../node/patch.md) accepts `transition` with identical semantics, e.g. `--json '[{ "id": 42, "transition": { "type": "dissolve" } }]'`.