{# @description A card in the middle of the screen with the logo above it. The quiet default, over any background. #} {# @prop title:text | default:"Sign in" | description:"The heading. Use the title slot instead when it contains markup." #} {# @prop lead:text | description:"The sentence under the heading" #} {# @prop level:select['1', '2', '3', '4', '5', '6'] | default:"1" | description:"Heading level. 1 is right when this is the whole page." #} {# @prop divider:text | description:"The word between the provider buttons and the form. Left empty, it is a translated or." #} {# @prop class:text | description:"Extra classes on the outer section. A plain surface colour goes here: bg-base-200." #} {# @slot:background — A background block, rendered into a layer behind the card #} {# @slot:logo — The application's logo, above the card. An image or inline SVG, usually inside a link home. #} {# @slot:providers — Buttons that skip the form, one full-width button each: third-party providers, a passkey, an emailed code #} {# @slot:footer — The foot of the card. The link to the sign-up page, usually. #} {# @slot The form — The application's own sign-in form, with its fields, its errors and its submit button. #}
{% if background %} {% endif %}
{% if logo %}
{{ logo }}
{% endif %} {{ providers }} {{ slot }} {{ footer }}