Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Components
  3. Forms & inputs
  4. Email

Email 1.2.2

The <velin-email> component reveals an address on click or keyboard activation — reduces casual scraper exposure while staying WCAG-friendly. Deutsch: Email De

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Basic

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

<!-- Obfuscated value -->
<velin-email value="pbagnpg@rknzcyr.pbz" obfuscate="rot13" label="Show email"></velin-email>

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

Attributes

AttributeNotes
valuePlain email, or obfuscated string when obfuscate is set
obfuscaterot13, or omit / other → decode with atob (base64)
labelButton text and aria-label before reveal (default: Show email address)

CSS parts: reveal (button), email (revealed link). Property: email returns the decoded address.

Events

EventDetail
velin-email-reveal{ email } — after the user reveals the address

Accessibility

Contract status: pass.