Skip to main content
VelinStyle v0.9.0
⌂ Home
  1. Docs
  2. Components
  3. Email

Email (obfuscation) 0.9.0

Reveal email addresses on click or keyboard — reduces scraper exposure while staying WCAG-friendly.

Basic

<velin-email value="contact@example.com" label="Show email address"></velin-email>

Included in the main bundle or via import '@birdapi/velinstyle/email'.

Attributes

AttributeNotes
valuePlain email or obfuscated (see obfuscate)
obfuscaterot13 or base64-encoded value
labelButton label before reveal

Accessibility

Before reveal: <button> with neutral label. After reveal: mailto: link. Use the PII scanner to avoid hardcoded addresses in HTML source.