Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@twind/preset-line-clamp

tw-in-js14.3kMIT1.0.7TypeScript support: included

A twind preset that provides utilities for visually truncating text after a fixed number of lines.

twind, tw-in-js, tailwind, tailwindcss, tailwind-in-js, twind-preset, preset

readme

@twind/preset-line-clamp MIT License Latest Release Github

Based on @tailwindcss/line-clamp.

A twind preset that provides utilities for visually truncating text after a fixed number of lines.

📖 Documentation

The full documentation is available at twind.style/preset-line-clamp.

💬 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable use Github Discussions.

To ask questions and discuss with other Twind users in real time use Discord Chat.

🧱 Contribute

See the Contributing Guide for information on how to contribute to this project.

📜 Changelog

The Changelog for this package is available on GitHub.

⚖️ License

The MIT license governs your use of Twind.

changelog

@twind/preset-line-clamp

1.0.7

1.0.6

Patch Changes

  • do not replace window and document for deno bundles (5fd4bb08)

1.0.5

Patch Changes

  • create dedicated worker and deno bundles, and downgrade module to es2019 (fixes #426) (02ea227a)

  • bump @twind/core peerDependency to latest (a26657cf)

1.0.4

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Patch Changes

1.0.0-next.39

Patch Changes

1.0.0-next.38

Patch Changes

1.0.0-next.37

Patch Changes

1.0.0-next.36

Patch Changes

1.0.0-next.35

Patch Changes

1.0.0-next.34

Patch Changes

1.0.0-next.33

Patch Changes

1.0.0-next.32

Patch Changes

1.0.0-next.31

Patch Changes

1.0.0-next.30

Patch Changes

1.0.0-next.29

Patch Changes

1.0.0-next.28

Patch Changes

1.0.0-next.27

Patch Changes

1.0.0-next.26

Patch Changes