# speechkit/7.0.0/src/editor/components/stack/index.js

BeyondWords – AI audio for publishers, version 7.0.0. 32 lines.

- Page: https://pluginprobe.com/plugins/speechkit/7.0.0/code/src/editor/components/stack/index.js
- Raw: https://pluginprobe.com/plugins/speechkit/7.0.0/raw/src/editor/components/stack/index.js
- Modified: 2026-08-12T09:46:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/speechkit/7.0.0/code/src/editor/components/stack/index.js#L10-L20`.

```javascript
/**
 * WordPress dependencies
 */
import { Flex } from '@wordpress/components';

/**
 * Vertical stack with a consistent gap.
 *
 * Our controls set `__nextHasNoMarginBottom`, so vertical spacing between
 * sibling fields is owned here (a single Flex gap), not by per-control margins.
 *
 * @param {Object}  props          Props (forwarded to Flex).
 * @param {Element} props.children Stack contents.
 *
 * @return {Element} The stack.
 */
export function Stack( { children, ...props } ) {
	return (
		<Flex
			direction="column"
			gap={ 4 }
			align="stretch"
			justify="flex-start"
			{ ...props }
		>
			{ children }
		</Flex>
	);
}

export default Stack;

```
