{% extends "@bolt-components-form/form.twig" %}
{% set children %}
{% set form_field %}
{% include "@pl/10-form-element-demo-input-element.twig" with {
title: "Email Address",
inputAttributes: {
placeholder: "Enter Email Address",
required: true,
type: "email"
},
labelDisplayType: "floating"
} only %}
{% endset %}
{% set submit_button %}
{% include "@bolt-components-form/form-button.twig" with {
text: "Sign up now",
tag: "submit"
} only %}
{% endset %}
{% endset %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
icon_size
|
Customize the size of the input icon used |
— |
medium
|
|
npm install @bolt/components-form
(all fields are required)
(all fields are required)
(all fields are required)
(Note: forms do not offically support dark themes yet. Use at your own risk.)