Blank Form Frame

Renders a minimal centred layout. Useful for pages with one card and some content, such as ‘Login’ and ‘Create Account’.

Examples

Read more Read less
<.blank_form_frame>
  <.simple_form for={@user} title="Example form">
    <.stack space="3xl">
      <.input name="Name" value="" label="Foo" />
      <.input name="Email" value="" label="Bar" />
    </.stack>
    <:actions>
      <.submit>Save</.submit>
      <.button type="cancel">Cancel</.button>
    </:actions>
  </.simple_form>
</.blank_form_frame>
Attribute Type Documentation Default Value
Required id * :string
Required inner_block * :slot