WRAPCODERS

CS:GO Gaming Shop Steam UI

Component

About

Production-ready CS:GO gaming shop and Steam trade interface featuring live skin drops ticker, cases showcase, interactive modals, and real-time live chat stream.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds CS:GO Gaming Shop Steam UI to your project and fits it to your theme.

Code

How CS:GO Gaming Shop Steam UI is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import * as React from "react";
import CSGOGamingShopSteamUI, {
  type LiveSkinDrop,
  type CaseItem,
  type ChatMessage,
  type UserProfile,
} from "@/components/ui/csgo-shop-steam-ui";

const settings = {
  brandName: "CSGO SHOP",
  username: "vino_costa",
  balanceUsd: 4970,
  heroHeadline: "Instant Steam Trade & Verified Skin Armory",
  heroCtaText: "Explore Marketplace",
  showChatSidebar: true,
};

const initialDrops: LiveSkinDrop[] = [
  { id: "drop-1", weapon: "P90", skinName: "Asiimov", rarity: "covert", wear: "FN", price: 34.5 },
  { id: "drop-2", weapon: "AWP", skinName: "Hyper Beast", rarity: "covert", wear: "MW", price: 98.2 },
  { id: "drop-3", weapon: "Karambit", skinName: "Crimson Web", rarity: "special", wear: "FT", price: 850.0 },
  { id: "drop-4", weapon: "Glock-18", skinName: "Bullet Queen", rarity: "classified", wear: "FN", price: 62.4 },
  { id: "drop-5", weapon: "Dual Berettas", skinName: "Demolition", rarity: "restricted", wear: "MW", price: 18.7 },
  { id: "drop-6", weapon: "MP9", skinName: "Hydra", rarity: "restricted", wear: "FN", price: 12.0 },
  { id: "drop-7", weapon: "Desert Eagle", skinName: "Trigger", rarity: "restricted", wear: "FT", price: 15.5 },
];

const demoCases: CaseItem[] = [
  { id: "case-dreams", name: "Dreams & Nightmares", price: 2.35, accentColor: "from-purple-500/20 to-indigo-600/20", iconName: "crosshair", tag: "Popular" },
  { id: "case-revolution", name: "Revolution Case", price: 3.1, accentColor: "from-rose-500/20 to-pink-600/20", iconName: "flame", tag: "Trending" },
  { id: "case-fracture", name: "Fracture Case", price: 1.85, accentColor: "from-sky-500/20 to-cyan-600/20", iconName: "sparkles" },
  { id: "case-recoil", name: "Recoil Case", price: 2.45, accentColor: "from-amber-500/20 to-orange-600/20", iconName: "trophy", tag: "New" },
  { id: "case-snakebite", name: "Snakebite Case", price: 1.6, accentColor: "from-emerald-500/20 to-teal-600/20", iconName: "zap" },
  { id: "case-weapon", name: "CS:GO Weapon Case", price: 78.5, accentColor: "from-yellow-500/20 to-amber-600/20", iconName: "crown", tag: "Vintage" },
];

const initialMessages: ChatMessage[] = [
  {
    id: "chat-1",
    user: "william",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/86/86cef4b2f9c0b45dcdaaad73803dda830fa5c39950c9a1ef810fb7e08735384c.jpg",
    time: "7:55 AM",
    text: "picked up a clean FN Asiimov",
  },
  {
    id: "chat-2",
    user: "shaggy",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/f2/f2189623d4a0318684c8191d30e89ec434f74784e5cf553935d91f839f60253a.jpg",
    time: "8:02 AM",
    text: "low float pricing looks solid today",
  },
  {
    id: "chat-3",
    user: "smashing",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/07/0774d703dedbaa55c373e4ea1359142219e018c3ae00f67981f705d186368e6c.jpg",
    time: "8:15 AM",
    text: "anyone trading a Butterfly Fade?",
  },
  {
    id: "chat-4",
    user: "vino_costa",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/50/501b7f9db124aca412dc0c48b76a014612a6a06a8958ec18c0a11c14b7227b9c.jpg",
    time: "8:24 AM",
    text: "listed mine in the marketplace",
    isCurrentUser: true,
  },
  {
    id: "chat-5",
    user: "dreadzz",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/f1/f15a199e911dfe4147820461ad9247102fbe5250bcf1b2f3d7123a9e95ca9a0d.jpg",
    time: "8:32 AM",
    text: "steam trade offer came through fast",
  },
  {
    id: "chat-6",
    user: "neo_matrix",
    avatarUrl: "https://cdn.21st.dev/assets/mirror/5a/5ac1ed44859d76147ea408453e818629106cde386232b9f0045860ebee0856a4.jpg",
    time: "8:35 AM",
    text: "just unboxed Karambit Crimson Web!",
  },
];

export default function CSGOGamingShopSteamUIDemo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  const [drops] = React.useState<LiveSkinDrop[]>(initialDrops);
  const [balanceUsd, setBalanceUsd] = React.useState<number>(s.balanceUsd);
  const [messages, setMessages] = React.useState<ChatMessage[]>(initialMessages);

  React.useEffect(() => {
    setBalanceUsd(s.balanceUsd);
  }, [s.balanceUsd]);

  React.useEffect(() => {
    if (typeof window === "undefined") return;
    const themeParam = new URLSearchParams(window.location.search).get("theme");
    if (themeParam === "light") {
      document.documentElement.classList.remove("dark");
    } else if (themeParam === "dark") {
      document.documentElement.classList.add("dark");
    }
  }, []);

  const userProfile: UserProfile = {
    name: s.username,
    avatarUrl: "https://cdn.21st.dev/assets/mirror/5c/5cba80227d3687287637c614783d0a1e32085a2fc710e3c840eef8b32ea62b0a.jpg",
    balanceUsd,
    balanceBtc: "0.0847 BTC",
    notificationsCount: 4,
    onlineCount: 128,
  };

  return (
    <div className="min-h-screen w-full bg-background text-foreground p-2 sm:p-4 flex items-center justify-center">
      <div className="w-full max-w-7xl">
        <CSGOGamingShopSteamUI
          brandName={s.brandName}
          user={userProfile}
          liveDrops={drops}
          heroHeadline={s.heroHeadline}
          heroCtaText={s.heroCtaText}
          cases={demoCases}
          initialChatMessages={messages}
          showChatSidebar={s.showChatSidebar}
          onOpenCase={(c) => setBalanceUsd((prev) => Math.max(0, Number((prev - c.price).toFixed(2))))}
          onSendMessage={(text) =>
            setMessages((prev) => [
              ...prev,
              {
                id: `chat-${Date.now()}`,
                user: s.username,
                avatarUrl: userProfile.avatarUrl,
                time: new Date().toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }),
                text,
                isCurrentUser: true,
              },
            ])
          }
        />
      </div>
    </div>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    89
  • Real Estate 3D Hero

    Real Estate 3D Hero

    50
  • Metric Trend Chart

    Metric Trend Chart

    35
  • LoopAI CRM

    LoopAI CRM

    32
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    23
  • AI Motion Visual Orb

    AI Motion Visual Orb

    21
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    20
  • Client Management CRM Hub

    Client Management CRM Hub

    19

Explore more

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