Shared visibility
Teams can review the same content and status updates in one place.
Split login page section with editable credentials form and social sign-in buttons.
Member access
Access project history, manage content updates, and keep your team aligned from one account area.
Teams can review the same content and status updates in one place.
Visual editing keeps routine content changes out of the code queue.
Structured components reduce one-off publishing mistakes.
Welcome back
Use your email and password, or continue with a social provider below.
---
import Form from "@forms/form/Form.astro";
import Input from "@forms/input/Input.astro";
import Submit from "@forms/submit/Submit.astro";
import LoginForm from "@page-sections/ctas/login-form/LoginForm.astro";
---
<LoginForm backgroundColor="base" benefits={
[
{
"title": "Shared visibility",
"description": "Teams can review the same content and status updates in one place.",
"iconName": "chart-bar",
"iconColor": "blue"
},
{
"title": "Faster edits",
"description": "Visual editing keeps routine content changes out of the code queue.",
"iconName": "pencil-square",
"iconColor": "purple"
},
{
"title": "Safer workflows",
"description": "Structured components reduce one-off publishing mistakes.",
"iconName": "shield-check",
"iconColor": "green"
}
]
} cardEyebrow="Welcome back" cardHeading="Log in to your account" cardText="Use your email and password, or continue with a social provider below." colorScheme="inherit" dividerText="Or continue with" footerLink="/sign-up/" footerLinkText="Create one" footerText="Need an account?" forgotPasswordLink="/reset-password/" forgotPasswordText="Forgot your password?" formAction="#" imageAlt="Quiet street with storefronts in warm evening light" imageSource="/src/assets/images/component-docs/quiet-street.jpg" introEyebrow="Member access" introHeading="Sign in and continue your work" introText="Access project history, manage content updates, and keep your team aligned from one account area." paddingVertical="5xl" socialButtonSections={
[
{
"_component": "building-blocks/core-elements/button",
"text": "Continue with Google",
"hideText": false,
"link": "/api/auth/oauth/google/start?returnTo=/account/",
"iconName": "social/google",
"iconPosition": "before",
"variant": "tertiary",
"size": "md"
},
{
"_component": "building-blocks/core-elements/button",
"text": "Continue with Facebook",
"hideText": false,
"link": "/api/auth/oauth/facebook/start?returnTo=/account/",
"iconName": "social/facebook",
"iconPosition": "before",
"variant": "tertiary",
"size": "md"
}
]
}>
<Form action="#">
<Input iconName="envelope" iconPosition="before" label="Email address" name="email" placeholder="you@company.com" required type="email" />
<Input iconName="lock-closed" iconPosition="before" label="Password" name="password" placeholder="Enter your password" required type="password" />
<Submit size="md" variant="primary">
Log in
</Submit>
</Form>
</LoginForm> ---
blocks:
_component: page-sections/ctas/login-form
introEyebrow: Member access
introHeading: Sign in and continue your work
introText: Access project history, manage content updates, and keep your team aligned from one account area.
benefits:
- title: Shared visibility
description: Teams can review the same content and status updates in one place.
iconName: chart-bar
iconColor: blue
- title: Faster edits
description: Visual editing keeps routine content changes out of the code queue.
iconName: pencil-square
iconColor: purple
- title: Safer workflows
description: Structured components reduce one-off publishing mistakes.
iconName: shield-check
iconColor: green
imageSource: /src/assets/images/component-docs/quiet-street.jpg
imageAlt: Quiet street with storefronts in warm evening light
cardEyebrow: Welcome back
cardHeading: Log in to your account
cardText: Use your email and password, or continue with a social provider below.
formAction: '#'
formBlocks:
- _component: building-blocks/forms/input
label: Email address
name: email
type: email
placeholder: you@company.com
required: true
iconName: envelope
iconPosition: before
- _component: building-blocks/forms/input
label: Password
name: password
type: password
placeholder: Enter your password
required: true
iconName: lock-closed
iconPosition: before
- _component: building-blocks/forms/submit
text: Log in
variant: primary
size: md
forgotPasswordText: Forgot your password?
forgotPasswordLink: /reset-password/
dividerText: Or continue with
socialButtonSections:
- _component: building-blocks/core-elements/button
text: Continue with Google
hideText: false
link: /api/auth/oauth/google/start?returnTo=/account/
iconName: social/google
iconPosition: before
variant: tertiary
size: md
- _component: building-blocks/core-elements/button
text: Continue with Facebook
hideText: false
link: /api/auth/oauth/facebook/start?returnTo=/account/
iconName: social/facebook
iconPosition: before
variant: tertiary
size: md
footerText: Need an account?
footerLinkText: Create one
footerLink: /sign-up/
colorScheme: inherit
backgroundColor: base
paddingVertical: 5xl
--- Use Login Form when you need a complete sign-in page inside the same editable page-section system as the rest of the starter. It keeps the credential fields, provider buttons, and supporting marketing content configurable without hardcoding auth-page markup into a one-off route.
Optional eyebrow above the marketing copy.
Main heading shown beside the login card.
Supporting copy for the intro panel.
Short proof points displayed in the intro panel.
Short benefit title.
Supporting copy for the benefit.
Icon shown for this benefit.
Accent color applied to the icon.
default blue green yellow orange red purple pink cyan Image displayed in the intro panel.
Alt text describing the intro image.
Optional eyebrow above the login form card.
Heading shown inside the login form card.
Supporting copy inside the login form card.
Form action used when the login form is submitted.
Form fields rendered inside the login form.
Link text shown below the form fields.
URL for the forgot-password action.
Label shown between the form and social buttons.
Social sign-in buttons, typically Google and Facebook.
Small footer prompt shown below the social buttons.
Clickable footer link text.
URL for the footer link.
Color scheme theme for the section.
inherit light dark Background color behind the section.
none base surface accent highlight Vertical padding for the section.
xs sm md lg xl 2xl 3xl 4xl 5xl 6xl