1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. corsair-ui
  3. Story Export

Story Export

lib

Turns stories into images for Instagram, WhatsApp and TikTok: renderStoryPng() draws JSX to a 1080 × 1920 PNG in the browser with Satori, shareStory() opens the share sheet with it, plus downloadStory(), loadFont() and the safe area the apps draw over.

pnpm dlx shadcn@latest add "https://kevingirelli.github.io/corsair-ui/r/story-export.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • satori@^0.47.1
    lib/story-export.ts