Onboardingsimilar to
Uniswap
A crypto onboarding that never leaves the product. Account creation starts from the Connect button and happens in a panel and two small modals over the exchange page, and the user ends where they started, now signed in, with the next step (adding funds) one click away.
Every screen
The 5 steps in order. Pick one to open it in the preview above.
Installation
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Why this flow works
From the Connect button to a wallet ready to fund in five steps: connect panel, welcome, a username secured by a passkey, and an account drawer with three ways to add funds.
Sign-up is a detour, not a destination
The way in is a Connect button in the product’s own top bar, not a separate sign-up site. The panel and modals open over the exchange page (a wireframe sketch where your own app goes), and the user is back on it when they finish.
Existing wallets and new users share one panel
People who already have a wallet connect in one click from the list; everyone else gets a single primary button, Create account. Neither group has to read about the other.
A username instead of a seed phrase
The wallet is secured by a passkey, so the only thing to decide is a name. It is pre-filled with a suggestion and a shuffle button, and taken names are flagged while typing.
An empty wallet says what to do next
The account drawer opens straight after creation with a zero balance and three ways to fund it, so the first session ends on a clear next action instead of a dead end.
Step by step
- 01
Exchange page
Press Connect in the top bar.
The onboarding starts from one Connect button in the product’s top bar. The exchange page around it (nav, swap box, floating coins) is a wireframe sketch where your own app goes.
- 02
Connect a wallet
Connect an existing wallet, create an account, or log in.
Existing wallets connect in one click from the list; new users have one obvious primary button. Log in and Other wallets swap the panel’s content instead of opening new screens.
- 03
Welcome
A short welcome that says what the account is for.
One sentence and one button. It frames the next step as creating a wallet, not filling a form, and says how it is secured.
- 04
Your wallet. Your crypto.
Keep the suggested username or type one, then create the wallet.
The only decision is a name. It starts on a suggestion with a shuffle button, so the user can create the wallet in one click; the passkey prompt follows from the button.
- 05
Wallet
Signed in, with the account drawer open on an empty balance and the popular tokens.
The user lands back where they started, now with their avatar and name in the top bar. The drawer turns the empty balance into three ways to add funds, and the popular tokens give a first thing to buy.
Built with shadcn/ui and Radix UI
- Button
- Input Group
- Field
- Separator
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Uniswap is a trademark of its owner; this page is not affiliated with or endorsed by Uniswap.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-uniswap-onboarding. The shadcn CLI copies the flow into components/flows/uniswap-onboarding/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-uniswap-onboarding) and React Aria (@shadcnpro/aria/flow-uniswap-onboarding) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Uniswap's onboarding flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Uniswap is a trademark of its owner, and this page is not affiliated with or endorsed by Uniswap.
Yes, the flow is a pattern, not a fixed template. A step you add should follow the same rules as the others, listed under Step anatomy in the flow spec, so it reads as part of the same flow.
Use the prompt in the Installation section. The agent installs the flow, then reads the flow spec at https://pro.shadcn.co/flows/uniswap-onboarding.md, which describes the layout, the rules every step follows, each step's fields and actions, and how to adapt the flow. That way it builds a version with your brand and your steps instead of a one-to-one copy.
No. Nothing connects to a chain: wallet rows and passkey log in are simulated with a short spinner, any username that is not on a small taken list is accepted, the address is derived from the name, prices and 24h changes are fixed sample values, and the exchange page is a wireframe sketch where your own app goes. The coin images are original artwork; swap them for the icons from your token list. In a real app, wire the wallet rows to your connectors, Create wallet to a passkey or embedded-wallet provider, the username check to your name service, and the funding cards to an on-ramp and a receive screen.
Button, Input Group, Field, Separator and Sonner, in their Radix UI versions. Everything else is plain markup with Tailwind CSS.
Yes. The flow only uses semantic tokens such as bg-background, bg-card and text-muted-foreground, so it picks up your colours, radius and fonts and switches with dark mode. Use the theme menu above the preview to see it in the Pro themes.
Yes. Below the medium breakpoint the sketched nav links and floating circles are hidden, so the top bar keeps the mark, Connect (or the account chip) and a sketched search. The connect panel and the account drawer stretch to the screen width, and the modals sit near the top of the screen.