BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/atroui/made-with-embed

Made With Embed

atroui/made-with-embed
FreeBlock

Credit badge + copyable HTML snippet with editable CONTENT.

Install it

npx shadcn@latest add https://atroui.com/r/made-with-embed.json

Source

registry/default/blocks/made-with-embed.tsxatroui.com/r/made-with-embed.json
1"use client"
2
3import { Check, Copy } from "lucide-react"
4import { useCallback, useState } from "react"
5
6import { getBrand } from "@/lib/brand"
7
8/**
9 * Edit CONTENT for badge link, image, and copy.
10 * Set siteOrigin so the HTML snippet works before hydration.
11 */
12const CONTENT = {
13 stamp: "Credit",
14 headline: "Link back if it helped.",
15 body: "Drop this badge on your site, README, or Notion footer. Free tools stay free when people share the source.",
16 href: "/",
17 /** Public URL or path to the badge image */
18 badgeSrc: "/badge/atroui.svg",
19 /** Used to absolutize relative href/badgeSrc in the snippet */
20 siteOrigin: "https://www.atroui.com",
21 badgeWidth: 160,
22 badgeHeight: 40,
23 snippetLabel: "HTML snippet",
24 copyLabel: "Copy snippet",
25 copiedLabel: "Copied",
26}
27
28export type MadeWithEmbedProps = {
29 href?: string
30 badgeSrc?: string
31 brandName?: string
32 className?: string
33}
34
35function absolutize(pathOrUrl: string, origin: string) {
36 if (pathOrUrl.startsWith("http")) return pathOrUrl
37 return `${origin.replace(/\/$/, "")}${pathOrUrl.startsWith("/") ? "" : "/"}${pathOrUrl}`
38}
39
40export function MadeWithEmbed({
41 href = CONTENT.href,
42 badgeSrc = CONTENT.badgeSrc,
43 brandName,
44 className,
45}: MadeWithEmbedProps) {
46 const [copied, setCopied] = useState(false)
47 const name = brandName ?? getBrand().name
48 const alt = `Made with ${name}`
49 const target = absolutize(href, CONTENT.siteOrigin)
50 const snippetBadgeSrc = absolutize(badgeSrc, CONTENT.siteOrigin)
51 const snippet = `<a href="${target}" target="_blank" rel="noopener noreferrer"><img src="${snippetBadgeSrc}" alt="${alt}" width="${CONTENT.badgeWidth}" height="${CONTENT.badgeHeight}" /></a>`
52
53 const copy = useCallback(async () => {
54 try {
55 await navigator.clipboard.writeText(snippet)
56 setCopied(true)
57 window.setTimeout(() => setCopied(false), 2000)
58 } catch {
59 setCopied(false)
60 }
61 }, [snippet])
62
63 return (
64 <div
65 className={`grid gap-6 md:grid-cols-12 md:items-start ${className ?? ""}`}
66 >
67 <div className="md:col-span-5">
68 <p className="text-[11px] font-semibold tracking-[0.14em] text-muted-foreground uppercase">
69 {CONTENT.stamp}
70 </p>
71 <h2 className="mt-4 text-2xl font-medium tracking-tight text-foreground sm:text-3xl">
72 {CONTENT.headline}
73 </h2>
74 <p className="mt-3 text-sm leading-relaxed text-muted-foreground">
75 {CONTENT.body}
76 </p>
77 <a
78 href={href}
79// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • @atroui/brand

Files it writes

  • registry/default/blocks/made-with-embed.tsx

Facts

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

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
Contact Formcontact-formatrouiBlocksFree2 deps
Contextual CTAcontextual-ctaatrouiBlocksFree2 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

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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