Authentication
Email verified
A centered card that confirms an email address, the page its verification link opens.
<div class="grid min-h-dvh place-items-center bg-base-200 p-6">
<div class="flex w-full max-w-sm flex-col gap-6">
<a class="flex items-center gap-2 self-center font-medium" href="#">
<span class="grid size-8 place-items-center rounded-lg bg-primary text-primary-content">
<span class="icon icon-stack-2 size-5"></span>
</span>
Pelatform
</a>
<div class="card">
<div class="card-header text-center">
<span class="mx-auto grid size-10 place-items-center rounded-lg bg-success/10 text-xl text-success">
<span class="icon icon-check"></span>
</span>
<h1 class="card-title text-xl">Email verified</h1>
<p class="card-description"><strong>john@example.com</strong> is verified, and your account is ready.</p>
</div>
<div class="card-actions flex-col">
<a class="btn btn-primary w-full" href="#">Continue to dashboard</a>
</div>
</div>
</div>
</div><div class="plf:grid plf:min-h-dvh plf:place-items-center plf:bg-base-200 plf:p-6">
<div class="plf:flex plf:w-full plf:max-w-sm plf:flex-col plf:gap-6">
<a class="plf:flex plf:items-center plf:gap-2 plf:self-center plf:font-medium" href="#">
<span class="plf:grid plf:size-8 plf:place-items-center plf:rounded-lg plf:bg-primary plf:text-primary-content">
<span class="plf:icon plf:icon-stack-2 plf:size-5"></span>
</span>
Pelatform
</a>
<div class="plf:card">
<div class="plf:card-header plf:text-center">
<span class="plf:mx-auto plf:grid plf:size-10 plf:place-items-center plf:rounded-lg plf:bg-success/10 plf:text-xl plf:text-success">
<span class="plf:icon plf:icon-check"></span>
</span>
<h1 class="plf:card-title plf:text-xl">Email verified</h1>
<p class="plf:card-description"><strong>john@example.com</strong> is verified, and your account is ready.</p>
</div>
<div class="plf:card-actions plf:flex-col">
<a class="plf:btn plf:btn-primary plf:w-full" href="#">Continue to dashboard</a>
</div>
</div>
</div>
</div>import { buttonClass, Card, CardActions, CardDescription, CardHeader, Icon } from '@pelatform/react';
export function Example() {
return (
<div className="grid min-h-dvh place-items-center bg-base-200 p-6">
<div className="flex w-full max-w-sm flex-col gap-6">
<a className="flex items-center gap-2 self-center font-medium" href="#">
<span className="grid size-8 place-items-center rounded-lg bg-primary text-primary-content">
<Icon name="stack-2" className="size-5" />
</span>
Pelatform
</a>
<Card>
<CardHeader className="text-center">
<span className="mx-auto grid size-10 place-items-center rounded-lg bg-success/10 text-xl text-success">
<Icon name="check" />
</span>
<h1 className="card-title text-xl">Email verified</h1>
<CardDescription><strong>john@example.com</strong> is verified, and your account is ready.</CardDescription>
</CardHeader>
<CardActions className="flex-col">
<a className={`${buttonClass({ color: 'primary' })} w-full`} href="#">Continue to dashboard</a>
</CardActions>
</Card>
</div>
</div>
);
}import { buttonClass, Card, CardActions, CardDescription, CardHeader, Icon } from '@pelatform/react/prefixed';
export function Example() {
return (
<div className="plf:grid plf:min-h-dvh plf:place-items-center plf:bg-base-200 plf:p-6">
<div className="plf:flex plf:w-full plf:max-w-sm plf:flex-col plf:gap-6">
<a className="plf:flex plf:items-center plf:gap-2 plf:self-center plf:font-medium" href="#">
<span className="plf:grid plf:size-8 plf:place-items-center plf:rounded-lg plf:bg-primary plf:text-primary-content">
<Icon name="stack-2" className="plf:size-5" />
</span>
Pelatform
</a>
<Card>
<CardHeader className="plf:text-center">
<span className="plf:mx-auto plf:grid plf:size-10 plf:place-items-center plf:rounded-lg plf:bg-success/10 plf:text-xl plf:text-success">
<Icon name="check" />
</span>
<h1 className="plf:card-title plf:text-xl">Email verified</h1>
<CardDescription><strong>john@example.com</strong> is verified, and your account is ready.</CardDescription>
</CardHeader>
<CardActions className="plf:flex-col">
<a className={`${buttonClass({ color: 'primary' })} plf:w-full`} href="#">Continue to dashboard</a>
</CardActions>
</Card>
</div>
</div>
);
}<link rel="stylesheet" href="pelatform-ui.min.css">
<link rel="stylesheet" href="icons/icons.min.css"><link rel="stylesheet" href="core/pelatform-ui-core.min.css">
<link rel="stylesheet" href="components/button.min.css">
<link rel="stylesheet" href="components/card.min.css">
<link rel="stylesheet" href="icons/icons.min.css"><link rel="stylesheet" href="pelatform-ui.prefixed.min.css">
<link rel="stylesheet" href="icons/icons.prefixed.min.css"><link rel="stylesheet" href="core/pelatform-ui-core.prefixed.min.css">
<link rel="stylesheet" href="components/button.prefixed.min.css">
<link rel="stylesheet" href="components/card.prefixed.min.css">
<link rel="stylesheet" href="icons/icons.prefixed.min.css">