{"abstract":[{"text":"A text field is a rectangular area in which people enter or edit small, specific pieces of text.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.HIG\/design\/human-interface-guidelines","doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/components","doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/selection-and-input"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/text-fields"},"kind":"article","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["en-US","zh-CN","ja-JP","ko-KR"],"customMetadata":{"alert-date":"2023-06-05","alert-text":"Updated guidance to reflect changes in watchOS 10.","supported-platforms":"ios,ipados,macos,tvos,visionos,watchos"},"images":[{"identifier":"components-text-fields-thumbnail.png","type":"card"}],"role":"article","title":"Text fields"},"primaryContentSections":[{"content":[{"inlineContent":[{"identifier":"components-text-field-intro.png","type":"image"}],"type":"paragraph"},{"anchor":"Best-practices","level":2,"text":"Best practices","type":"heading"},{"inlineContent":[{"inlineContent":[{"text":"Use a text field to request a small amount of information, such as a name or an email address.","type":"text"}],"type":"strong"},{"text":" To let people input larger amounts of text, use a ","type":"text"},{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/text-views","isActive":true,"overridingTitle":"text view","overridingTitleInlineContent":[{"text":"text view","type":"text"}],"type":"reference"},{"text":" instead.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Show a hint in a text field to help communicate its purpose.","type":"text"}],"type":"strong"},{"text":" A text field can contain placeholder text — such as “Email” or “Password” — when there’s no other text in the field. Because placeholder text disappears when people start typing, it can also be useful to include a separate label describing the field to remind people of its purpose.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Use secure text fields to hide private data.","type":"text"}],"type":"strong"},{"text":" Always use a secure text field when your app asks for sensitive data, such as a password. For developer guidance, see ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/SecureField","isActive":true,"type":"reference"},{"text":".","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"To the extent possible, match the size of a text field to the quantity of anticipated text.","type":"text"}],"type":"strong"},{"text":" The size of a text field helps people visually gauge the amount of information to provide.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Evenly space multiple text fields.","type":"text"}],"type":"strong"},{"text":" If your layout includes multiple text fields, leave enough space between them so people can easily see which input field belongs with each introductory label. Stack multiple text fields vertically when possible, and use consistent widths to create a more organized layout. For example, the first and last name fields on an address form might be one width, while the address and city fields might be a different width.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Ensure that tabbing between multiple fields flows as people expect.","type":"text"}],"type":"strong"},{"text":" When tabbing between fields, move focus in a logical sequence. The system attempts to achieve this result automatically, so you won’t need to customize this too often.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Validate fields when it makes sense.","type":"text"}],"type":"strong"},{"text":" For example, if the only legitimate value for a field is a string of digits, your app needs to alert people if they’ve entered characters other than digits. The appropriate time to check the data depends on the context: when entering an email address, it’s best to validate when people switch to another field; when creating a user name or password, validation needs to happen before people switch to another field.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Use a number formatter to help with numeric data.","type":"text"}],"type":"strong"},{"text":" A number formatter automatically configures the text field to accept only numeric values. It can also display the value in a specific way, such as with a certain number of decimal places, as a percentage, or as currency. Don’t assume the actual presentation of data, however, as formatting can vary significantly based on people’s locale.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"identifier":"text-fields-formatted-text.png","metadata":{"abstract":[{"text":"Formatted text","type":"text"}]},"type":"image"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Adjust line breaks according to the needs of the field.","type":"text"}],"type":"strong"},{"text":" By default, the system clips any text extending beyond the bounds of a text field. Alternatively, you can set up a text field to wrap text to a new line at the character or word level, or to truncate (indicated by an ellipsis) at the beginning, middle, or end.","type":"text"}],"type":"paragraph"},{"columns":[{"alignment":"leading","content":[{"inlineContent":[{"identifier":"text-fields-clipped-text.png","metadata":{"abstract":[{"text":"Clipped text","type":"text"}]},"type":"image"}],"type":"paragraph"}],"size":1},{"alignment":"leading","content":[{"inlineContent":[{"identifier":"text-fields-wrapped-text.png","metadata":{"abstract":[{"text":"Wrapped text","type":"text"}]},"type":"image"}],"type":"paragraph"}],"size":1},{"alignment":"leading","content":[{"inlineContent":[{"identifier":"text-fields-truncated-text.png","metadata":{"abstract":[{"text":"Truncated text","type":"text"}]},"type":"image"}],"type":"paragraph"}],"size":1}],"numberOfColumns":3,"type":"row"},{"inlineContent":[{"inlineContent":[{"text":"Consider using an expansion tooltip to show the full version of clipped or truncated text.","type":"text"}],"type":"strong"},{"text":" An expansion tooltip behaves like a regular ","type":"text"},{"identifier":"https:\/\/developer.apple.com\/design\/human-interface-guidelines\/offering-help#macOS-visionOS","isActive":true,"type":"reference"},{"text":" and appears when someone places the pointer over the field.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"In iOS, iPadOS, tvOS, and visionOS apps, show the appropriate keyboard type.","type":"text"}],"type":"strong"},{"text":" Several different keyboard types are available, each designed to facilitate a different type of input, such as numbers or URLs. To streamline data entry, display the keyboard that’s appropriate for the type of content people are entering. For guidance, see ","type":"text"},{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/virtual-keyboards","isActive":true,"type":"reference"},{"text":".","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Minimize text entry in your tvOS and watchOS apps.","type":"text"}],"type":"strong"},{"text":" Entering long passages of text or filling out numerous text fields is time-consuming on Apple TV and Apple Watch. Minimize text input and consider gathering information more efficiently, such as with buttons.","type":"text"}],"type":"paragraph"},{"anchor":"Platform-considerations","level":2,"text":"Platform considerations","type":"heading"},{"inlineContent":[{"inlineContent":[{"text":"No additional considerations for tvOS or visionOS.","type":"text"}],"type":"emphasis"}],"type":"paragraph"},{"anchor":"iOS-iPadOS","level":3,"text":"iOS, iPadOS","type":"heading"},{"inlineContent":[{"inlineContent":[{"text":"Display a Clear button in the trailing end of a text field to help people erase their input.","type":"text"}],"type":"strong"},{"text":" When this element is present, people can tap it to clear the text field’s contents, without having to keep tapping the Delete key.","type":"text"}],"type":"paragraph"},{"inlineContent":[{"inlineContent":[{"text":"Use images and buttons to provide clarity and functionality in text fields.","type":"text"}],"type":"strong"},{"text":" You can display custom images in both ends of a text field, or you can add a system-provided button, such as the Bookmarks button. In general, use the leading end of a text field to indicate a field’s purpose and the trailing end to offer additional features, such as bookmarking.","type":"text"}],"type":"paragraph"},{"anchor":"macOS","level":3,"text":"macOS","type":"heading"},{"inlineContent":[{"inlineContent":[{"text":"Consider using a combo box if you need to pair text input with a list of choices.","type":"text"}],"type":"strong"},{"text":" For related guidance, see ","type":"text"},{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/combo-boxes","isActive":true,"type":"reference"},{"text":".","type":"text"}],"type":"paragraph"},{"anchor":"watchOS","level":3,"text":"watchOS","type":"heading"},{"inlineContent":[{"inlineContent":[{"text":"Present a text field only when necessary.","type":"text"}],"type":"strong"},{"text":" Whenever possible, prefer displaying a list of options rather than requiring text entry.","type":"text"}],"type":"paragraph"},{"anchor":"Resources","level":2,"text":"Resources","type":"heading"},{"anchor":"Related","level":4,"text":"Related","type":"heading"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/text-views","isActive":true,"type":"reference"}],"type":"paragraph"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/combo-boxes","isActive":true,"type":"reference"}],"type":"paragraph"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/entering-data","isActive":true,"type":"reference"}],"type":"paragraph"},{"anchor":"Developer-documentation","level":4,"text":"Developer documentation","type":"heading"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/TextField","isActive":true,"type":"reference"},{"text":" — SwiftUI","type":"text"}],"type":"paragraph"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/SecureField","isActive":true,"type":"reference"},{"text":" — SwiftUI","type":"text"}],"type":"paragraph"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.documentation\/documentation\/UIKit\/UITextField","isActive":true,"type":"reference"},{"text":" — UIKit","type":"text"}],"type":"paragraph"},{"inlineContent":[{"identifier":"doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSTextField","isActive":true,"type":"reference"},{"text":" — AppKit","type":"text"}],"type":"paragraph"},{"anchor":"Change-log","level":2,"text":"Change log","type":"heading"},{"header":"row","rows":[[[{"inlineContent":[{"text":"Date","type":"text"}],"type":"paragraph"}],[{"inlineContent":[{"text":"Changes","type":"text"}],"type":"paragraph"}]],[[{"inlineContent":[{"text":"June 5, 2023","type":"text"}],"type":"paragraph"}],[{"inlineContent":[{"text":"Updated guidance to reflect changes in watchOS 10.","type":"text"}],"type":"paragraph"}]]],"type":"table"}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"topicSectionsStyle":"compactGrid","references":{"components-combo-boxes-thumbnail.png":{"alt":"A stylized representation of a combo box control displaying a list of cities. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-combo-boxes-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-combo-boxes-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-combo-boxes-thumbnail~dark@2x.png"}]},"components-selection-and-input-thumbnail.png":{"alt":"A stylized representation of a calendar in month view, suggesting selection and input. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-selection-and-input-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-selection-and-input-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-selection-and-input-thumbnail~dark@2x.png"}]},"components-text-field-intro.png":{"alt":"A stylized representation of a text field containing a value. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-text-field-intro.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-text-field-intro@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-text-field-intro~dark@2x.png"}]},"components-text-fields-thumbnail.png":{"alt":"A stylized representation of a text field containing a value. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-text-fields-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-text-fields-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-text-fields-thumbnail~dark@2x.png"}]},"components-text-views-thumbnail.png":{"alt":"A stylized representation of a field containing text. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-text-views-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-text-views-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-text-views-thumbnail~dark@2x.png"}]},"components-virtual-keyboards-thumbnail.png":{"alt":"A stylized representation of a numeric keypad. The image is tinted red to subtly reflect the red in the original six-color Apple logo.","identifier":"components-virtual-keyboards-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components-virtual-keyboards-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components-virtual-keyboards-thumbnail~dark@2x.png"}]},"components.png":{"alt":"","identifier":"components.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/components@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/components~dark@2x.png"}]},"data-entry.svg":{"alt":"An icon of a pencil writing within a field that suggests data entry.","identifier":"data-entry.svg","type":"image","variants":[{"svgID":"data-entry","traits":["1x","light"],"url":"\/images\/com.apple.HIG\/data-entry.svg"}]},"doc://com.apple.HIG/design/Human-Interface-Guidelines/combo-boxes":{"abstract":[{"text":"A combo box combines a text field with a pull-down button in a single control.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/combo-boxes","images":[{"identifier":"components-combo-boxes-thumbnail.png","type":"card"}],"kind":"article","role":"article","title":"Combo boxes","type":"topic","url":"\/design\/human-interface-guidelines\/combo-boxes"},"doc://com.apple.HIG/design/Human-Interface-Guidelines/components":{"abstract":[{"text":"Learn how to use and customize system-defined components to give people a familiar and consistent experience.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/components","images":[{"identifier":"overview.svg","type":"icon"},{"identifier":"components.png","type":"card"}],"kind":"article","role":"collectionGroup","title":"Components","type":"topic","url":"\/design\/human-interface-guidelines\/components"},"doc://com.apple.HIG/design/Human-Interface-Guidelines/entering-data":{"abstract":[{"text":"When you need information from people, design ways that make it easy for them to provide it without making mistakes.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/entering-data","images":[{"identifier":"data-entry.svg","type":"icon"},{"identifier":"patterns-entering-data-thumbnail.png","type":"card"}],"kind":"article","role":"article","title":"Entering data","type":"topic","url":"\/design\/human-interface-guidelines\/entering-data"},"doc://com.apple.HIG/design/Human-Interface-Guidelines/selection-and-input":{"abstract":[],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/selection-and-input","images":[{"identifier":"selection-and-input.svg","type":"icon"},{"identifier":"components-selection-and-input-thumbnail.png","type":"card"}],"kind":"article","role":"collectionGroup","title":"Selection and input","type":"topic","url":"\/design\/human-interface-guidelines\/selection-and-input"},"doc://com.apple.HIG/design/Human-Interface-Guidelines/text-views":{"abstract":[{"text":"A text view displays multiline, styled text content, which can optionally be editable.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/text-views","images":[{"identifier":"components-text-views-thumbnail.png","type":"card"}],"kind":"article","role":"article","title":"Text views","type":"topic","url":"\/design\/human-interface-guidelines\/text-views"},"doc://com.apple.HIG/design/Human-Interface-Guidelines/virtual-keyboards":{"abstract":[{"text":"On devices without physical keyboards, the system offers various types of virtual keyboards people can use to enter data.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/Human-Interface-Guidelines\/virtual-keyboards","images":[{"identifier":"components-virtual-keyboards-thumbnail.png","type":"card"}],"kind":"article","role":"article","title":"Virtual keyboards","type":"topic","url":"\/design\/human-interface-guidelines\/virtual-keyboards"},"doc://com.apple.HIG/design/human-interface-guidelines":{"abstract":[{"text":"The HIG contains guidance and best practices that can help you design a","type":"text"},{"text":" ","type":"text"},{"text":"great experience for any Apple platform.","type":"text"}],"identifier":"doc:\/\/com.apple.HIG\/design\/human-interface-guidelines","images":[{"identifier":"human-interface-guidelines-page-image-card.png","type":"card"}],"kind":"article","role":"collection","title":"Human Interface Guidelines","type":"topic","url":"\/design\/human-interface-guidelines"},"doc://com.apple.documentation/documentation/AppKit/NSTextField":{"abstract":[{"text":"Text the user can select or edit to send an action message to a target when the user presses the Return key.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NSTextField"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSTextField","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"NSTextField"}],"role":"symbol","title":"NSTextField","type":"topic","url":"\/documentation\/appkit\/nstextfield"},"doc://com.apple.documentation/documentation/SwiftUI/SecureField":{"abstract":[{"text":"A control into which people securely enter private text.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"SecureField"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/SecureField","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"SecureField"}],"role":"symbol","title":"SecureField","type":"topic","url":"\/documentation\/swiftui\/securefield"},"doc://com.apple.documentation/documentation/SwiftUI/TextField":{"abstract":[{"text":"A control that displays an editable text interface.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"TextField"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/TextField","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"TextField"}],"role":"symbol","title":"TextField","type":"topic","url":"\/documentation\/swiftui\/textfield"},"doc://com.apple.documentation/documentation/UIKit/UITextField":{"abstract":[{"text":"An object that displays an editable text area in your interface.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UITextField"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/UIKit\/UITextField","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UITextField"}],"role":"symbol","title":"UITextField","type":"topic","url":"\/documentation\/uikit\/uitextfield"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"https://developer.apple.com/design/human-interface-guidelines/offering-help#macOS-visionOS":{"identifier":"https:\/\/developer.apple.com\/design\/human-interface-guidelines\/offering-help#macOS-visionOS","title":"tooltip","titleInlineContent":[{"text":"tooltip","type":"text"}],"type":"link","url":"https:\/\/developer.apple.com\/design\/human-interface-guidelines\/offering-help#macOS-visionOS"},"human-interface-guidelines-page-image-card.png":{"alt":"An illustration of several Liquid Glass components such as toggles, sliders, and buttons, atop a neutral background. The transparent components cast shadows on the background and allow their colored elements, like a blue slider track and a green toggle backing, to show through, highlighting the Liquid Glass material's lensing effect.","identifier":"human-interface-guidelines-page-image-card.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/human-interface-guidelines-page-image-card@2x.png"}]},"overview.svg":{"alt":"An icon of a grid comprised of four squares.","identifier":"overview.svg","type":"image","variants":[{"svgID":"overview","traits":["1x","light"],"url":"\/images\/com.apple.HIG\/overview.svg"}]},"patterns-entering-data-thumbnail.png":{"alt":"A sketch of a pencil writing within a field, suggesting data entry. The image is tinted orange to subtly reflect the orange in the original six-color Apple logo.","identifier":"patterns-entering-data-thumbnail.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/patterns-entering-data-thumbnail@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/patterns-entering-data-thumbnail~dark@2x.png"}]},"selection-and-input.svg":{"alt":"An icon of a calendar in month view, suggesting selection and input.","identifier":"selection-and-input.svg","type":"image","variants":[{"svgID":"selection-and-input","traits":["1x","light"],"url":"\/images\/com.apple.HIG\/selection-and-input.svg"}]},"text-fields-clipped-text.png":{"alt":"A partial screenshot of a text field that contains a sentence that is cut off before its end.","identifier":"text-fields-clipped-text.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/text-fields-clipped-text@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/text-fields-clipped-text~dark@2x.png"}]},"text-fields-formatted-text.png":{"alt":"A partial screenshot of two stacked text fields. The top field contains a number with four decimal places. The bottom field contains a currency value.","identifier":"text-fields-formatted-text.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/text-fields-formatted-text@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/text-fields-formatted-text~dark@2x.png"}]},"text-fields-truncated-text.png":{"alt":"A partial screenshot of a text field that contains a sentence that includes an ellipsis in place of the last few words.","identifier":"text-fields-truncated-text.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/text-fields-truncated-text@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/text-fields-truncated-text~dark@2x.png"}]},"text-fields-wrapped-text.png":{"alt":"A partial screenshot of a text field that contains a sentence that wraps to two lines.","identifier":"text-fields-wrapped-text.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.HIG\/text-fields-wrapped-text@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.HIG\/text-fields-wrapped-text~dark@2x.png"}]}},"variantOverrides":[{"patch":[{"op":"replace","path":"\/references\/doc:~1~1com.apple.documentation~1documentation~1AppKit~1NSTextField\/fragments","value":[{"kind":"identifier","text":"NSTextField"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.documentation~1documentation~1UIKit~1UITextField\/fragments","value":[{"kind":"identifier","text":"UITextField"}]}],"traits":[{"interfaceLanguage":"occ"}]}]}