import { Link } from "@tanstack/react-router"; import { CardSymbol } from "./CardSymbol"; function Code({ children }: { children: React.ReactNode }) { return ( {children} ); } function Q({ q }: { q: string }) { return ( {q} ); } function MainCard({ title, children, className = "", }: { title: string; children: React.ReactNode; className?: string; }) { return (

{title}

{children}
); } function SecondaryCard({ title, children, className = "", }: { title: string; children: React.ReactNode; className?: string; }) { return (

{title}

{children}
); } function Mana({ s }: { s: string }) { return ( ); } export function SearchPrimer() { return (
{/* Intro blurb */}

Type anything to search by name—we'll find close matches even with typos.

Use field:value syntax for precise filtering. Multiple filters are combined with AND.

{/* Fields with examples */}
  • type
  • rules text
  • mana value
  • power
  • rarity
  • set code
  • format legal
  • loyalty
  • name contains
{/* Operators */}
  • less than
  • at least
  • greater than
  • at most
  • regex w/ backrefs
{/* Colors - clearer framing */}
{/* Color codes */}
white blue black red green colorless
{/* Card's colors */}

Card's colors

is both and

is exactly (mono-red)

{/* Color identity for commander */}

Color identity (for commander)

fits in decks

has at least

2+ color commanders

{/* Combining */}
  • both (AND)
  • either
  • exclude (NOT)
  • grouping
{/* Secondary cards - dimmer, just clickable queries */}
); }