Skip to content

iOS components Forms

StanceTextEditor

Stable

A labelled multi-line editor with an optional live character count.

  • PlatformiOS and iPadOS, SwiftUI
  • Builds onTextEditor
  • Kindview

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceTextEditor on iOS and iPadOSStanceTextEditor on iOS and iPadOSStanceTextEditor on iOS and iPadOS
StanceTextEditor, Light appearance
Light
StanceTextEditor, Dark appearance
Dark
StanceTextEditor, High contrast appearance
High contrast

Usage

swift
StanceTextEditor("Notes", text: $text, limit: 200)

Accessibility

  • Character count is part of the field hint

On other platforms