NavigationPhoneLink

Open in Create
Search
astronomic.dev

PhoneLink

Free

For a phone number people tap to call, such as in the header: the label over the number, or an icon on a phone.

File
PhoneLink.astro
Group
Navigation
Kind
Static: no JavaScript
Examples
3
import PhoneLink from "@astronomic-dev/ui/components/PhoneLink.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Label and number

Your phone icon in the accent, then the label in small capitals over the number in even-width figures. A pill at least 44px tall that calls the number.

Urgent

urgent puts the icon in an accent mark, for an emergency line. With text, shorter words show in place of the number, and the number stays in the link's name.

Icon only on a phone

iconOnlyBelow="md": below the md fold point the words hide and the icon shows in a 44px round link, with the same name. In a frame, so the fold point is real.

Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.