← All widgets

Market Search

Discovery

One search across every venue — matched cross-venue results by default, with markets and events modes in the dropdown. Picking a result renders an expanded, tradable card below the input.

usage
import { MarketSearch } from 'pmxt-widgets';

<MarketSearch />
setup — sandbox mode (no API key needed)
import { PmxtProvider } from 'pmxt-widgets';

// Sandbox mode: live market data, fully simulated trading —
// a demo wallet with $1,000 of play money, no orders sent.
// Drop the sandbox prop (and add your PMXT API key) to go live.
<PmxtProvider config={{ apiUrl: '/api/pmxt' }} sandbox>
    <App />
</PmxtProvider>
npm
npm install pmxt-widgets
shadcn registry
npx shadcn@latest add https://widgets.pmxt.dev/r/market-search.json