Hyphens

    Utilities for controlling how words should be hyphenated.

    Use to prevent words from being hyphenated even if the line break suggestion ­ is used:

    Hyphens - 图2

    Use hyphens-auto to allow the browser to automatically choose hyphenation points based on the language. The line break suggestion ­ will be preferred over automatic hyphenation points.


    For a complete list of all available state modifiers, check out the documentation.

    You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use md:hyphens-auto to apply the utility at only medium screen sizes and above.

    To learn more, check out the documentation on , Dark Mode and .