Alexander Niebuhr
Recipes
Adding image placeholdersGenerate zero-JavaScript dominant-color and blurred LQIP placeholders for Astro images without hurting layout stability or LCP.
How to handle dark modeAdd a light and dark theme to Astro that respects user preferences, avoids a flash of the wrong theme, and works with view transitions.
Tips
Handling Open Graph imagesAdd static or generated Open Graph images to your Astro site using astro-og-canvas or satori-astro.
How to add GSAPInstall GSAP and run animations from a processed script in an Astro component, bundled and loaded as an ES module.
Leverage Zod's powerUse Zod's preprocess, transform, and refine in Astro content collection schemas to validate and normalize frontmatter at build time.
Setting up BiomeQuickly configure Biome for your Astro project
