Sm — Subtitle

By using a "small" subtitle, you create a clear that doesn't compete with the main title for the user's attention. 4. Common Pitfalls to Avoid

But what exactly happens under the hood when you use a class like subtitle sm ? 1. The Anatomy of the Class subtitle Sm

If you are building a component (like a blog card), your HTML might look like this: By using a "small" subtitle, you create a

Developers often use "sm" variants in . For instance, the Skeleton Mammoth library utilizes specific classes like sm-item-secondary to mimic subtitles while data is being fetched. This reduces "perceived loading time" and keeps users engaged. 3. Implementation Example This reduces "perceived loading time" and keeps users

Ensure your "sm" subtitle is still legible. Most frameworks set text-sm to roughly 0.875rem (14px) . Going any lower can cause accessibility issues for visually impaired users.

Published May 2026 Detailed blog content goes here... Use code with caution. Copied to clipboard