Files
gridpilot.gg/apps/website/components/auth/AuthCard.tsx
2026-01-18 22:55:55 +01:00

33 lines
645 B
TypeScript

'use client';
import { Card } from '@/ui/Card';
import { Text } from '@/ui/Text';
import { SectionHeader } from '@/ui/SectionHeader';
import React from 'react';
interface AuthCardProps {
children: React.ReactNode;
title: string;
description?: string;
}
/**
* AuthCard
*
* A matte surface container for auth forms with a subtle accent glow.
*/
export function AuthCard({ children, title, description }: AuthCardProps) {
return (
<Card variant="dark">
<SectionHeader
title={title}
description={description}
variant="minimal"
/>
<div>
{children}
</div>
</Card>
);
}