Skip to content

Form

Embedded form with a slot to insert intro copy above.

Anatomy

  1. Main content slot

This is a very simple component that allows for free-form HTML or other components to be placed in a container above an embedded form provided by the form system.

Usage Guidelines

Embedded form with a slot to insert intro copy above.

Specifications

Properties

PropertyTypeDescriptionRequiredDefault
contentstring Inner main HTML content--
default_form_idstring Specific ID used by the form system. This is usually provided by the global context and doesn't need to be specified.--

Changelog

1.25.0 (2021-09-30)

1.8.0

  • form added

Examples

Default

Inner Heading

Maecenas faucibus mollis interdum.

Form Inputs
<x-form default_form_id="default-id">
	<x-slot name="content">
		<h2 class='h3'>Inner Heading</h2>
		<p>Maecenas faucibus mollis interdum.</p>
		<div class="tux-c-placeholder">Form Inputs</div>
	</x-slot>
</x-form>