WRAPCODERS

Deep Link Router

Navigation 5

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>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    93
  • Real Estate 3D Hero

    Real Estate 3D Hero

    53
  • LoopAI CRM

    LoopAI CRM

    47
  • Client Management CRM Hub

    Client Management CRM Hub

    35
  • Metric Trend Chart

    Metric Trend Chart

    35
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    32
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    31
  • AI Motion Visual Orb

    AI Motion Visual Orb

    26

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    120
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    338
  • Sidebar

    Sidebar

    428
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Tabs

    Tabs

    37
  • Astryx Breadcrumb Item

    Astryx Breadcrumb Item

    1
  • Navbar

    Navbar

    80
  • Pagination with Ellipsis

    Pagination with Ellipsis

    30

Explore more

Part of Components — browse the full library on 21st.dev.