dithercnDithered globe hero
A Bayer dither engine plus examples, installed via the shadcn registry
dithercn draws every surface as ordered-dither cells tied to your shadcn theme tokens, so a globe, an aurora shader and a headline fill all share one pixel grid and palette. The components install as plain source into your project, so you edit them like your own code instead of configuring a black-box package.
npx shadcn@latest add https://dithercn.dev/r/dither-globe.json<Aurora className="absolute inset-x-0 top-0 -z-20 h-[62%]"
color="green" tipColor="purple" curtains={4} direction="down" mask="bottom" />
<DitherGlobe
markers={[SF, NYC, LDN, FRA, SGP, TYO, SYD, GRU].map((at) => ({ at }))}
arcs={[{ from: SF, to: LDN }, { from: NYC, to: FRA, color: "green" }]}
start={-30} tilt={28} speed={5} cell={3} matrix="bayer4" />
<DitherText as="h1" fill="gradient" direction="down" to={0.45}>
Ship to every edge at once.
</DitherText>