Text thickness.
Weighted differently
font-weight: 700
<div class="fw-wrap">
<p class="fw-text" style="font-weight:700;font-size:24px;color:#241430;">Weighted differently</p>
<p class="fw-caption">font-weight: 700</p>
</div>
<style>
.fw-wrap { font: 14px/1.5 system-ui, sans-serif; color: #241430; width: 300px; }
.fw-text { margin: 0; }
.fw-caption { margin: 12px 0 0; font-size: 12px; color: #241430cc; }
</style><div class="font-sans text-[#241430] w-[300px]">
<p class="m-0" style="font-weight:700;font-size:24px;color:#241430;">Weighted differently</p>
<p class="mt-3 text-xs text-[#241430]/80">font-weight: 700</p>
</div>export function FontWeight({
weight = "700",
text = "Weighted differently",
size = 24,
color = "#241430",
}) {
return (
<div style={{ font: "14px/1.5 system-ui, sans-serif", color: "#241430", width: 300 }}>
<p style={{ margin: 0, fontWeight: Number(weight), fontSize: size, color }}>{text}</p>
<p style={{ marginTop: 12, fontSize: 12, color: "#241430cc" }}>font-weight: {weight}</p>
</div>
);
}