# Login form

> Centered card, one shape above the heading, stacked fields, one full-width CTA.

**BuildSpace v2.** Read https://ui.buildspace.studio/design.md first. Setup (fonts and namespace): https://ui.buildspace.studio/#install. The theme replaces Ink & Paper; review CSS changes before reinstalling in an existing project.

- **Name:** `login-form`
- **Type:** block (`registry:block`)
- **Registry item:** https://ui.buildspace.studio/r/login-form.json

## Install

```sh
npx shadcn add https://ui.buildspace.studio/r/login-form.json
```

## Dependencies

npm packages (installed automatically): `lucide-react`

Registry items (installed automatically by the shadcn CLI):

- `@buildspace/accent-card` — BuildSpace item, see https://ui.buildspace.studio/r/accent-card.md
- `@buildspace/buildspace` — BuildSpace item, see https://ui.buildspace.studio/r/buildspace.md
- `@buildspace/button` — BuildSpace item, see https://ui.buildspace.studio/r/button.md
- `@buildspace/card` — BuildSpace item, see https://ui.buildspace.studio/r/card.md
- `@buildspace/input` — BuildSpace item, see https://ui.buildspace.studio/r/input.md
- `@buildspace/label` — BuildSpace item, see https://ui.buildspace.studio/r/label.md

> **Required first step:** add a `registries.@buildspace` entry to your project's `components.json` (`"@buildspace": "https://ui.buildspace.studio/r/{name}.json"`) before running the install command above — the shadcn CLI needs it to resolve the `@buildspace/*` dependency names above, even though this item itself installs from a full URL.

## Files

- `registry/new-york/blocks/login-form/login-form.tsx`
