Em is used to emphasize text with semantic meaning through the HTML <em> element.
I have a dream of a scene between the green hills.
Clouds pull away and the sunlight's revealed.
People don't talk about keeping it real.
It's understood that they actually will.
- Renders as semantic <em> HTML element
- Applies italic styling by default
- Maintains proper emphasis semantics for accessibility
- Customizable with className and style props
A component for emphasizing text by rendering it as an <em> element with italic styling.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
customRootClass | string | '' |