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
| Attribute | Notes |
|---|---|
value | Plain email or obfuscated (see obfuscate) |
obfuscate | rot13 or base64-encoded value |
label | Button 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.