About
Interactive deep-link showcase with a nine-platform U-arc selector, route chips, live preview card, and click-to-copy destination URL pill.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Deep Link Router to your project and fits it to your theme.
Code
How Deep Link Router is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useEffect } from "react";
import DeepLinkRouter from "@/components/ui/deep-link-router";
const settings = {
badge: "DEEP LINK",
titlePrimary: "Drive users to the",
titleMuted: "right place, every time",
description:
"Deep links route every tap to the right native screen across iOS, Android, and desktop.",
learnMoreLabel: "Learn more",
defaultPlatformId: "instagram",
showBlueprintGrid: true,
showAmbientGlow: true,
};
export default function DeepLinkRouterDemo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
useEffect(() => {
if (typeof window === "undefined") return;
const themeParam = new URLSearchParams(window.location.search).get("theme");
if (themeParam === "dark") {
document.documentElement.classList.add("dark");
} else if (themeParam === "light") {
document.documentElement.classList.remove("dark");
}
}, []);
return (
<div className="min-h-screen w-full bg-background text-foreground flex items-center justify-center p-4 sm:p-8">
<DeepLinkRouter
badge={s.badge}
titlePrimary={s.titlePrimary}
titleMuted={s.titleMuted}
description={s.description}
learnMoreLabel={s.learnMoreLabel}
learnMoreHref="https://21st.dev/?ref=mdruhulhasan"
previewActionHref="https://21st.dev/?ref=mdruhulhasan"
defaultPlatformId={s.defaultPlatformId}
showBlueprintGrid={s.showBlueprintGrid}
showAmbientGlow={s.showAmbientGlow}
/>
</div>
);
}
















