Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An Astro template for minimalist personal identity cards with QR contact sharing and vCard support.
Starcard is an Astro template by alexandr-studio for building a minimalist personal identity card: a single-page profile with QR contact sharing and optional vCard download, configured entirely from your Astro config.
Starcard is an Astro integration that renders a personal profile page from a typed configuration object. You provide site metadata, footer text, and a profile definition in your astro.config.mjs or .ts; the integration validates it with Zod and exposes a virtual module that components import to render the page. The output is a static site with your name, title, links, and a QR code that mobile visitors can scan to share or save your contact details. The template is maintained by alexandr-studio and released under the MIT license.
vcard: true in your profile to add a QR code that lets visitors save you as a contact.astro.config.mjs or .ts, including meta, footer, and profile sections, similar to Starlight's approach.virtual:starcard/config module.Layout.astro generates title, description, keywords, canonical, Open Graph, and Twitter cards from your meta settings.twitter mapping to x.order to sections and items to control rendering order; sections and items display in ascending order.Starcard suits anyone who needs a lightweight, mobile-friendly digital business card rather than a full portfolio site. Developers and freelancers can point their domain at a Starcard page to share contact details and social links via a scannable QR code. People who attend conferences or meet clients can use the vCard QR to let others add their contact information in one tap. Teams that want a branded personal page for members can fork the template and reuse the same configuration pattern.
In practice, you scaffold a new Astro project with the template command, then edit astro.config.mjs or .ts to add the Starcard integration and your profile data. The integration validates the config with Zod, exposes it through a virtual module, and the included pages and components render the profile. Run pnpm install and pnpm dev to develop locally, or build a static site for deployment.
Starcard generates a single-page personal identity card from your Astro config. It renders your name, title, contact details, social links, and a QR code for sharing. The page is static, so it can be hosted on any static host.
Add the Starcard integration to your astro.config.mjs or .ts and provide a meta, footer, and profile object. The profile defines display name, title, company, email, phone, location, social sections, and legal items. Zod validates the structure at build time.
Yes, if you set vcard: true in your profile config, Starcard adds a QR code that encodes your contact information so visitors can quickly add you to their address book. This works alongside the regular link-sharing QR dialog.
You need Node.js version 18.17 or newer (Node 20 or later is recommended) and a package manager like pnpm, npm, or yarn. The template itself runs on Astro and uses Tailwind CSS v4.
Yes, the repository is licensed under the MIT license, which means you can use and modify it freely, including in commercial projects. There is no separate pricing or tier system.
