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. sunui
  3. Raster Image

Raster Image

block

Redraws any image as print-style marks on a canvas: halftone dots on an angled screen, ASCII characters, a dot matrix, 1-bit ordered dither or engraved lines, switched with the mode prop. Marks take the text color, so they follow Light and Dark themes, and a fine pointer makes nearby marks swell and push aside before they ease back. An optional sweep draws it in the first time it scrolls into view. It redraws only while something moves, pauses off screen and in hidden tabs, keeps the alt text on the wrapper, and with reduced motion shows a still print.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/raster-image.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/raster-image.tsx