Form

User Registration

Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

additional CSS classes for the form

for :any

the datastructure for the form

as :any

the server side parameter to collect all input under

actions_align :string

alignment of form actions (between, right, center)

"between"
rest :global

the arbitrary HTML attributes to apply to the form tag

Required inner_block * :slot
<h3 class="text-lg font-bold mb-4">User Registration</h3>
<div class="flex flex-col gap-3">
  <input type="text" placeholder="Name" class="input" />
  <input type="email" placeholder="Email" class="input" />
</div>
actions :slot

the slot for form actions, such as a submit button