Inline
Span
Styled text inside text; raised or lowered (superscript, subscript) with verticalAlign.
import { Span } from "@hyper-elements/react";Reference
Styled text inside text; raised or lowered (superscript, subscript) with verticalAlign.
Holds: text; PageNumber, Span, Link, LineBreak, MergeTag.
style:
color: color (inherited, Typography)fontFamily: fontFamily (inherited, Typography)fontSize: a length (a number of px) (inherited, Typography)fontWeight: fontWeight (inherited, Typography)fontStyle: one of “normal”, “italic” (inherited, Typography)letterSpacing: a length (a number of px) (inherited, Typography)textTransform: one of “none”, “uppercase”, “lowercase”, “capitalize” (inherited, Typography)textDecoration: one of “none”, “underline”, “line-through” (Typography)backgroundColor: color (Background)verticalAlign: one of “baseline”, “super”, “sub” (Layout). “super”: superscript (®, a footnote mark); “sub”: subscript; as CSS vertical-align.
style.mobile (on phones): fontSize, letterSpacing.