Skip to content

Deployment

Astro Icon supports every deployment method that Astro supports. Refer to the official Deploy your Astro Site guide for specific instructions.

Rendering Modes

Astro projects support multiple Rendering Modes, pages, routes, and API endpoints can be either pre-rendered at build time or rendered on demand by a server when a route is requested.

Pre-rendered

Astro projects that are entirely pre-rendered do not need any special configuration to use Astro Icon.

On-demand rendered

Astro projects that have enabled on-demand server rendering should note that by default, only the icons that are used in your project will be included in the server bundle. This means that any icons that are dynamically referenced will be fetched from the server at runtime preventing bloating your JavaScript bundles.