import { Info, BookOpen } from 'lucide-react' import { Button } from '@/components/ui/button' import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card' import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle, DrawerTrigger } from '@/components/ui/drawer' import { useScreenSize } from '@/providers/ScreenSizeProvider' import { cn } from '@/lib/utils' export default function SearchInfo() { const { isSmallScreen } = useScreenSize() const searchInfoContent = (

Search Parameters

Plain text: Searches by d-tag for replaceable events (normalized, hyphenated)
Event IDs: Bare event IDs work as standard search (hex, note1, nevent1, naddr1)
Filters:
  • t:hashtag or hashtag:hashtag - Filter by hashtag (t-tag)
  • Multiple values supported: t:bitcoin,nostr
Kind filter: Use URL parameter k= with other filters (e.g., ?t=bitcoin&k=1 or ?t=testfile&k=30023). Cannot be used alone.

Examples:

  • jumble search → searches d-tag
  • t:bitcoin → hashtag search
  • note1abc... → searches for event ID
Advanced search on Alexandria
) if (isSmallScreen) { return ( Advanced Search Help Learn about available search parameters
{searchInfoContent}
Advanced search on Alexandria
) } return (

Advanced Search Help

{searchInfoContent}
) }