WordBreaks

React component for rendering text with aesthetically pleasing word break opportunities.

GitHub icon Module source

Unpkg icon Unpkg CDN

Props

The React component props are documented via TypeScript JSDoc comments in the module source.

Examples

A long word heading with a narrow width, using WordBreaks.

HTMLTableSectionElement

Code

A long word heading with a narrow width, not using WordBreaks.

HTMLTableSectionElement

Code