WebberUI

Web3 Crypto Landing

加密貨幣/web3 產品行銷整站模板,含粒子網格背景、3D 傾斜代幣與滾動進場。

一頁式 web3 行銷模板:粒子連線背景、滑鼠視差的 3D 代幣、即時數據列、特色網格與 CTA 收尾,色彩與文案全部可透過 props 客製。

載入預覽⋯

Playground

即時調整 props、程式碼片段同步更新——直接試出你要的樣子再複製。

<Web3CryptoLanding />

安裝

npx shadcn@latest add https://webberui.com/r/web3-crypto-landing.json

或在 components.json 設定 registries 後,改用 @webberui/web3-crypto-landing 安裝。

安裝依賴後,從 registry JSON(/r/web3-crypto-landing.jsonfiles[0].content)複製 web3-crypto-landing.tsx 原始碼到你的 components/ui/ 目錄:

npm install motion lucide-react clsx tailwind-merge

使用

import { Web3CryptoLanding } from "@/components/ui/web3-crypto-landing";

<Web3CryptoLanding
  brand="Nexus"
  headline="The onchain layer for the next billion users."
  accent={["#a855f7", "#6366f1", "#22d3ee"]}
/>;

自訂數據列與特色卡:

<Web3CryptoLanding
  stats={[
    { label: "Total Value Locked", value: "$4.28B", change: "+12.4%" },
    { label: "24h Volume", value: "$918M", change: "+6.1%" },
    { label: "Active Wallets", value: "1.2M", change: "+3.8%" },
  ]}
/>

Props

Prop型別預設值說明
brandstring"Nexus"導覽列品牌名
headlinestring"The onchain layer…"主標題
subheadstring見原始碼副標描述
primaryCtastring"Launch App"主要 CTA 文案
secondaryCtastring"Read Docs"次要 CTA 文案
accentreadonly string[]["#a855f7", "#6366f1", "#22d3ee"]三色品牌漸層
statsTokenStat[]三筆範例頂部即時數據列
featuresFeatureItem[]四筆範例特色區塊
chainsChainLogo[]六筆範例支援鏈徽章
grainbooleantrue疊加噪點顆粒
classNamestring透傳外層樣式

其中 TokenStat{ label: string; value: string; change: string }FeatureItem{ icon: LucideIcon; title: string; desc: string }ChainLogo{ symbol: string; name: string }

可及性

  • 使用者系統開啟「減少動態效果」時,粒子背景只繪製一幀、代幣與浮動卡停止漂移,內容維持靜態呈現
  • 粒子 canvas 與背景層皆標記 aria-hidden,不干擾螢幕閱讀器
  • 隨機粒子座標採確定性 seed 搭配 mounted-flag 兩段式渲染,避免 SSR hydration mismatch

On this page