Arihant jain

Login Card

Cards 12

About

Here is Login Card component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Login Card to your project and fits it to your theme.

Code

How Login Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client';

import { useCallback, useLayoutEffect, useRef, useState } from 'react';
import Copy from '../copy';
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import { Switch } from '@/components/ui/switch';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from '@/components/ui/select';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import { Badge } from '@/components/ui/badge';
import { Progress } from '@/components/ui/progress';
import { Slider } from '@/components/ui/slider';
import {
  Bell,
  Calendar,
  Check,
  Cloud,
  CreditCard,
  Download,
  LucideBarChart,
  LucideLineChart,
  LucidePieChart,
  Map,
  Mic,
  Moon,
  Music,
  Phone,
  Search,
  Star,
  Sun,
  Zap,
} from 'lucide-react';
import { DollarSign, TrendingUp, Users } from 'lucide-react';
import { ChartContainer, ChartTooltip, ChartTooltipContent } from '@/components/ui/chart';
import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from 'recharts';
import { Bar, BarChart, CartesianGrid, Line, LineChart, XAxis } from 'recharts';
import { GetDimensions, GridStyle, GridColumns, addGridStyle, addGridBorders } from '@/utils/GridStyle';
import { useTheme } from 'next-themes';
export default function ProfileCard() {
    return (
      <Card className="w-[310px]">
        <CardHeader>
          <div className="flex items-center space-x-4">
            <Avatar>
              <AvatarImage
                src="https://cdn.21st.dev/assets/mirror/6f/6fdbf48fa137eb7c0308f25d61da146eee559d4458f379a4d5784042fa0fab71.jpg"
                alt="@arihantcodes"
              />
              <AvatarFallback>SU</AvatarFallback>
            </Avatar>
            <div>
              <CardTitle>Spectrum UI</CardTitle>
              <CardDescription>@arihantcodes</CardDescription>
            </div>
          </div>
        </CardHeader>
        <CardContent>
          <div className="grid w-full items-center gap-4">
            <div className="flex flex-col space-y-1.5">
              <Label>Email</Label>
              <p className="text-sm">hello@arihant.us</p>
            </div>
            <div className="flex flex-col space-y-1.5">
              <Label>Location</Label>
              <p className="text-sm">San Francisco, CA</p>
            </div>
            <div className="flex flex-col space-y-1.5">
              <Label>Bio</Label>
              <p className="text-sm">
                Software developer passionate about creating user-friendly
                applications.
              </p>
            </div>
          </div>
        </CardContent>
        <CardFooter>
          <Button variant="outline" className="w-full">
            Edit Profile
          </Button>
        </CardFooter>
      </Card>
    )
  }

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    698
  • Animated Drawer

    Animated Drawer

    686
  • Status Badge

    Status Badge

    495
  • Stacked Circular Footer

    Stacked Circular Footer

    413
  • Input Modal

    Input Modal

    316
  • Large Name Footer

    Large Name Footer

    193
  • Profile Dropdown

    Profile Dropdown

    187

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3