---
title: Mailto
tags: components,beginner
---
Renders a link formatted to send an email.
- Destructure the component's props, use `email`, `subject` and `body` to create a `` element with an appropriate `href` attribute.
- Render the link with `children` as its content.
```jsx
const Mailto = ({ email, subject, body, children }) => {
return (
{children}
);
};
```
```jsx
ReactDOM.render(
Mail me!
,
document.getElementById('root')
);
```