---
title: "Centered login | Free React & Tailwind Blocks Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/blocks/login-centered"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/login-centered.tsx"
install_command: "npx motion-ui-skill add login-centered"
dependencies: ["clsx","lucide-react","motion","react","tailwind-merge"]
category: "blocks"
subcategory: "blocks"
---

# Centered login

> A passkey-first login card on a quiet ring backdrop that morphs through email and code.

## Install

```bash
npx motion-ui-skill add login-centered
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { LoginCentered as LoginCentered } from "@/components/blocks/login-centered";

export function Example() {
  return (
    <div className="p-6">
      <LoginCentered />
    </div>
  );
}
```

## Source Files

- [components/blocks/login-centered.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/login-centered.tsx)
- [components/blocks/login-centered.module.css](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/login-centered.module.css)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
- [lib/motion-tokens.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/motion-tokens.ts)
