BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/atroui/contact-form

Contact Form

atroui/contact-form
FreeBlock

Multi-step contact form with editable CONTENT; posts to your API.

Install it

npx shadcn@latest add https://atroui.com/r/contact-form.json

Source

registry/default/blocks/contact-form.tsxatroui.com/r/contact-form.json · first 6 KB
1"use client"
2
3import { ArrowLeft, ArrowRight, Check, Loader2, Send } from "lucide-react"
4import { AnimatePresence, motion, useReducedMotion } from "motion/react"
5import { useState, type FormEvent } from "react"
6
7/**
8 * Edit CONTENT / PROJECT_TYPES to match your studio intake.
9 * Posts JSON to CONTENT.endpoint (wire your own API route).
10 * Steps reveal one at a time (Family: gradual revelation + fluid travel).
11 */
12const CONTENT = {
13 stamp: "Contact",
14 headline: "Tell us what you want to ship.",
15 lede: "Four short steps. We reply within one business day.",
16 endpoint: "/api/contact",
17 successTitle: "Got it.",
18 successBody: "We'll reply within one business day.",
19 submitLabel: "Send",
20}
21
22const PROJECT_TYPES = [
23 { id: "mvp-sprint", label: "7-Day MVP Sprint", hint: "from $4,800" },
24 { id: "ai-integration", label: "AI Feature", hint: "from $2,400" },
25 { id: "design-system", label: "Design System", hint: "from $3,600" },
26 { id: "other", label: "Something else", hint: "Describe it below" },
27] as const
28
29const BUDGETS = [
30 { id: "<2k", label: "Under $2k" },
31 { id: "2k-5k", label: "$2k - $5k" },
32 { id: "5k-10k", label: "$5k - $10k" },
33 { id: "10k+", label: "$10k+" },
34 { id: "unsure", label: "Not sure yet" },
35] as const
36
37const TIMELINES = [
38 { id: "asap", label: "ASAP · 1-2 weeks" },
39 { id: "1-month", label: "Within a month" },
40 { id: "flexible", label: "Flexible" },
41 { id: "unsure", label: "Not sure yet" },
42] as const
43
44const STEPS = [
45 { id: "who", label: "Who", title: "Who should we reply to?" },
46 { id: "what", label: "What", title: "What are we scoping?" },
47 { id: "when", label: "When", title: "Timing & budget" },
48 { id: "send", label: "Send", title: "Look right?" },
49] as const
50
51type Status =
52 | { kind: "idle" }
53 | { kind: "submitting" }
54 | { kind: "success" }
55 | { kind: "error"; message: string }
56
57function Chip({
58 pressed,
59 onClick,
60 disabled,
61 children,
62}: {
63 pressed: boolean
64 onClick: () => void
65 disabled?: boolean
66 children: React.ReactNode
67}) {
68 return (
69 <button
70 type="button"
71 onClick={onClick}
72 aria-pressed={pressed}
73 disabled={disabled}
74 className={
75 pressed
76 ? "border border-[var(--color-brand,#0b7bff)] bg-[var(--color-brand,#0b7bff)]/10 px-3.5 py-2.5 text-left text-sm text-foreground"
77 : "border border-border-subtle bg-background px-3.5 py-2.5 text-left text-sm text-muted-foreground hover:border-border hover:text-foreground"
78 }
79 >
80 {children}
81// … truncated

What it pulls in

npm packages

  • lucide-react
  • motion

Files it writes

  • registry/default/blocks/contact-form.tsx

Facts

Registry
atroui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

atroui.com atroui/atroui on GitHub Raw registry item This item as JSON

More from atroui

All 82 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Analytics Provideranalytics-provideratrouiBlocksFree1 dep
AR Portfolioar-portfolioatrouiBlocksFree1 dep
Before / Afterbefore-after-slideratrouiBlocksFreeno deps
Calendly Embedcalendly-embedatrouiBlocksFree1 dep
ChangelogchangelogatrouiBlocksFreeno deps
Command Menucommand-menuatrouiBlocksFree4 deps
Contextual CTAcontextual-ctaatrouiBlocksFree2 deps
Count Upcount-upatrouiBlocksFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex