
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@pmxt/components
Advanced tools
Embeddable prediction market UI components built with React and Tailwind CSS
Embeddable prediction market UI components built with React and Tailwind CSS.
npm install @pmxt/components
Required:
react >= 18react-dom >= 18lightweight-charts ^5Optional (only needed if you use wallet or framework-specific components):
wagmi ^2@rainbow-me/rainbowkit ^2next >= 14canvas-confetti ^1Add the @source directive to your CSS entry file so Tailwind can detect the
classes used by these components:
@import "tailwindcss";
@source "node_modules/@pmxt/components/dist";
All components are themed through CSS custom properties. Define them on :root
(or any ancestor element):
:root {
/* Brand */
--brand-primary: #00a36c;
--brand-primary-hover: #008f5d;
/* Backgrounds */
--bg-main: #ffffff;
--bg-surface: #ffffff;
--bg-surface-hover: #f3f4f6;
--bg-header: #ffffff;
--bg-input: #f4f4f5;
/* Text */
--text-primary: #111827;
--text-secondary: #6b7280;
--text-muted: #9ca3af;
--text-inverse: #ffffff;
/* Borders */
--border-subtle: rgba(0, 0, 0, 0.06);
--border-strong: rgba(0, 0, 0, 0.12);
/* Status */
--color-live: #ef4444;
--color-yes: #00a36c;
--color-no: #ef4444;
/* Shape */
--radius-full: 9999px;
--radius-card: 16px;
--radius-btn: 9999px;
--shadow-sm: none;
--shadow-card: none;
/* Typography */
--font-primary: "Plus Jakarta Sans", sans-serif;
--font-secondary: "Plus Jakarta Sans", sans-serif;
}
Override any variable to match your brand -- every component picks up the changes automatically.
import { EventCard } from "@pmxt/components";
function App() {
return (
<EventCard
title="Will BTC exceed $100k by July 2026?"
imageUrl="/btc.png"
outcomes={[
{ label: "Yes", probability: 0.72 },
{ label: "No", probability: 0.28 },
]}
/>
);
}
The package exports the following components:
| Component | Description |
|---|---|
EventCard | Card with market image, title, and outcome sliders |
MarketCard | Compact card for a single binary market |
MarketRow / OutcomeRow | Row-based layouts for market lists |
TradingWidget | Full trading interface (chart + order panel) |
TradePanel | Standalone order entry panel |
OrderDrawer | Slide-up order signing drawer (requires wagmi) |
FundsModal | Deposit / withdraw modal (requires wagmi) |
LightweightChart | TradingView Lightweight Charts wrapper |
Sparkline | Inline sparkline for price history |
FeaturedCarousel | Horizontally scrollable featured events |
EventTable | Sortable table of events |
ProfileButton | Wallet connection button (requires rainbowkit) |
SidebarSection / SidebarBannerList | Sidebar navigation primitives |
ConnectionStatus | WebSocket connection indicator |
See COMPONENTS.md for the full visual catalog with props and usage examples.
@pmxt/sdk -- API client for the PMXT Embed APIFAQs
Embeddable prediction market UI components built with React and Tailwind CSS
The npm package @pmxt/components receives a total of 7 weekly downloads. As such, @pmxt/components popularity was classified as not popular.
We found that @pmxt/components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.