Installation
Usage
Add the component to your email template. Include styles where needed.Props
TheHr component accepts all standard HTML <hr> element attributes.
Inline styles for the horizontal rule. Default styles provide a subtle divider
Default Styles
TheHr component includes these default styles:
width: 100%- Full width dividerborder: none- No default borderborderTop: 1px solid #eaeaea- Light gray top border
Styling Examples
Custom Color and Thickness
With Margin Spacing
Dashed Style
TypeScript
Email Client Support
This component was tested using the most popular email clients.| Gmail | Apple Mail | Outlook | Yahoo! Mail | HEY | Superhuman |
|---|---|---|---|---|---|
| ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |