---
title: "How to Build Embed Components with Astro, Qwik and StackBlitz"
url: https://daily.dev/posts/how-to-build-embed-components-with-astro-qwik-and-stackblitz-zvypitxgi
source_url: https://thenewstack.io/how-to-build-embed-components-with-astro-qwik-and-stackblitz/
type: article
source: "The New Stack"
published: 2024-03-09T13:12:10.861Z
updated: 2024-08-30T02:17:05.472Z
tags: ["astro", "javascript", "performance", "qwik", "webdev"]
reading_time: 9
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Build Embed Components with Astro, Qwik and StackBlitz

**[The New Stack](https://daily.dev/sources/newstack)** · 9 min read · 1 upvotes · 0 comments

## Summary

Learn how to build a lightweight StackBlitz embed component for your Astro site using Qwik. Understand the performance concerns of embedding StackBlitz projects and discover how to use Qwik's useVisibleTask$() to lazy load and make components viewport aware.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thenewstack.io/how-to-build-embed-components-with-astro-qwik-and-stackblitz/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#astro](https://daily.dev/tags/astro), [#javascript](https://daily.dev/tags/javascript), [#performance](https://daily.dev/tags/performance), [#qwik](https://daily.dev/tags/qwik), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/how-to-build-embed-components-with-astro-qwik-and-stackblitz-zvypitxgi)
