Dev Design Library

Expandable Text

A paragraph clamped to a line limit that shows a glass more pill only when it is cut, and grows to full height without reflow.

Expandable Text preview
Library
SwiftPieces
Framework
SwiftUI
Type
component
License
MIT + Commons Clause
Files
  • registry/swift/text/ExpandableText.swift
  • registry/swift/text/ExpandableText.mdx
Source
https://github.com/Saivion/SwiftPieces

Categories

More from SwiftPieces