Sections
Get Started
UI
Components
- Animated Beam
- Animated List
- Animated Logo
- Animated Theme Toggler
- Avatar Circles
- Bento Grid
- Big Name Text
- Border Beam
- Dock
- Feature Card
- Filter Dropdown
- Footer Link
- Hero Badge
- Hero Buttons
- Hyper Text
- Lens
- Magic Card
- Marquee
- Meteors
- Onboarding Form
- Pricing Card
- Scroll Text
- Section Header
- Site Header
- Status Card
- Status
- Tweet Card
Login
Enter your credentials to access your account.
import { Button } from "@/registry/sase/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/sase/card";
import { Input } from "@/registry/sase/input";
import { Label } from "@/registry/sase/label";
import { BorderBeam } from "@/registry/sase/border-beam";
export function Component() {
return (
<Card className="relative w-[350px] overflow-hidden">
<CardHeader>
<CardTitle>Login</CardTitle>
<CardDescription>
Enter your credentials to access your account.
</CardDescription>
</CardHeader>
<CardContent>
<form>
<div className="grid w-full items-center gap-4">
<div className="flex flex-col space-y-1.5">
<Label htmlFor="email">Email</Label>
<Input id="email" type="email" placeholder="Enter your email" />
</div>
<div className="flex flex-col space-y-1.5">
<Label htmlFor="password">Password</Label>
<Input
id="password"
type="password"
placeholder="Enter your password"
/>
</div>
</div>
</form>
</CardContent>
<CardFooter className="flex justify-between">
<Button variant="outline">Register</Button>
<Button>Login</Button>
</CardFooter>
<BorderBeam duration={8} size={100} />
</Card>
);
}
Installation
pnpm dlx shadcn@latest add https://sase-ui.vercel.app/r/border-beam.json
Usage
import { BorderBeam } from "@/components/ui/border-beam";<div className="relative">
<BorderBeam size={250} duration={12} delay={9} />
</div>