Components / Data & content
Email Address
Component + managerDisplays an email address with quick copy and mailto actions.
Live preview
Interactive exampleUsage
Import the component and its manager, then make it your own.
Component
EmailAddressManager
create_email_address_manager<script>
// Import the shared stylesheet once in your application's root layout.
import "sveltekit-ui/style.css"
import { EmailAddress, create_email_address_manager } from "sveltekit-ui"
const manager = create_email_address_manager({ val: "hello@example.com" })
</script>
<EmailAddress {manager} />API reference
Configure the manager, call its methods, and read its reactive state.
1 entry in configuration
| Property | Type | Default | Description |
|---|---|---|---|
val | string | null | the email address value |