<template name="contextualBar">
	{{#if template}}
		<div class="contextual-bar">
			<section class="contextual-bar-wrap">
				<header class="contextual-bar__header">
					{{#with headerData}}
						<div class="contextual-bar__header-data">
							{{> icon block="contextual-bar__header-icon" icon=icon}}
							<h1 class="contextual-bar__header-title">{{_ label}}</h1>
						</div>
					{{/with}}
					<button class="contextual-bar__header-close js-close">
						{{> icon block="contextual-bar__header-close-icon" icon="plus"}}
					</button>
				</header>
				<main class="contextual-bar__content flex-tab {{id}}">
					{{> Template.dynamic template=template data=flexData}}
				</main>
			</section>
		</div>
	{{/if}}
</template>
