
This template is designed to help you create a seamless and customizable authentication experience with built-in login and sign-up forms. It’s ideal for quickly adding user access flows to any modern web application.
Easy to Setup
---import Authentication from '@templates/Authentication.astro'
const layout = { seo: { ... } // Your SEO configuration menu: { ... } // Menu configuration footer: { ... } // Footer configuration}---
<Authentication layout={layout} banner={{ ... }} {/* Your banner image */} type={'login'} {/* Type of form to show ('signup' | 'login'). Defaults to signup */} loginForm={{ ... }} {/* Customize your login form */} signUpForm={{ ... }} {/* Customize your sign up form */} tabs={{ ... }} {/* Customize your tabs when both forms are displayed */} reverse={true} {/* Reverse your layout. Defaults to false */} className="auth" {/* Pass additional CSS classes to your layout */}/>
---import { type TabsProps } from 'webcoreui/astro'
import logo from '@img/logo.svg?raw'import Authentication from '@templates/Authentication/Authentication.astro'
// Your layout, including menu and footerconst layout = { seo: { title: 'Authentication Template - Webcore', url: 'https://webcoreui.dev/', description: 'A customizable and easy to use template for login and sign up forms.', faviconUrl: '/logo.svg' }, menu: { logo: { html: logo }, items: [ { name: 'Home', href: '/' } ] }, footer: { logo: { html: logo }, columns: [ { title: 'Sitemap', items: [ { href: '/', name: 'Home' } ] } ], subText: `© ${new Date().getFullYear()} Webcore. All Rights Reserved.` }}
// Your banner imageconst banner = { src: '/img/banner.png', alt: 'Banner', width: 500, height: 1000}
// Tabs if you need both login and sign up formsconst tabs = { theme: 'outline' as TabsProps['theme'], even: true, items: [ { label: 'Login', value: 'login', // Value must be one of 'login' | 'signup' active: true }, { label: 'Sign Up', value: 'signup' } ]}---
<Authentication type="login" layout={layout} banner={banner} tabs={tabs}/>
Key Features
- Seamless login and sign-up integration: Quickly embed functional login and registration forms into your project with minimal setup.
- Configurable banner section: Personalize the banner area with custom titles, illustrations, or marketing copy to match your brand.
- Tabbed form switching: Toggle between login and sign-up forms using our
Tab
component, improving UX without navigating away. - Flexible layout options: Choose between two predefined layouts to match your aesthetic needs.
- Prop-based customization: Modify text, forms, banner, or even your tabs through component props.
Documentation
We've collected the following documentations for you that can help you get the most out of this template:

Explore More Possibilities Improve this template with premium components
Get the most out of Webcore! Customize this template with a constantly growing library of advanced features and premium components to create something truly unique.
Learn More