Skip to content
Skills Library
Design & UX · Building & coding

apple-hig-text-fields

/apple-hig-text-fields

Use when creating, reviewing, or adapting short input fields, labels, validation, secure entry, formatting, and focus order.

Licence
MIT
Last repository change
26.10.2026

Assessment and security

91/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content26 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when creating, reviewing, or adapting short input fields, labels, validation, secure entry, formatting, and focus order.

Original author description

Use when creating, reviewing, or adapting short input fields, labels, validation, secure entry, formatting, and focus order.

How it works

SKILL.md has no level-two headings · 17 lines, 300 words

SKILL.md preview
---
name: apple-hig-text-fields
description: Use when creating, reviewing, or adapting short input fields, labels, validation, secure entry, formatting, and focus order.
---

# Preserve meaning while people enter a value

Read [the text-field guide](../../references/text-fields.md). This workflow is application advice; keep platform input capabilities and validation timing qualified.

Inspect value type, required format, sensitivity, labels, validation, target platform/input, and create/review/adapt request. Determine whether short entry is appropriate or a text view/choice control would reduce effort. Record actual format and commit rules rather than guessing from placeholder examples.

Keep purpose understandable after the placeholder disappears by adding persistent labels when necessary. Use secure entry for sensitive content and size/align fields to explain expected values and associations. Preserve logical Tab order. Validate at a useful moment: email often on leaving, creation feedback for username/password before leaving. Use understandable corrective feedback and locale-aware numeric formatters rather than punctuation-stripping shortcuts. Choose deliberate clipping/wrapping and an appropriate keyboard/content type. Offer trailing Clear on iOS/iPadOS; evaluate Mac combo boxes for suggestions plus custom values. Minimize typing on TV/watch and prefer existing choices where useful.

Implement fields/format/validation/focus or supply an input contract; reviews must identify the exact entered value and resulting failure. Do not broaden into account-security changes merely because a password field is present.

**Worked transformation:** Before: a price field labelled only by `$0.00` rejects a comma decimal after every keystroke and loses its label once entered. Decision: purpose and locale semantics must persist while partial input is allowed. After: use a persistent Price label, locale-aware currency representation, and validation that distinguishes intermediate entry from an invalid committed value.

Deliver the artifact and label, type, validation moment, feedback, formatting, and focus contract. Verify empty/partial/invalid/valid input, locale changes, secure content, Tab traversal, and long values. Fail for hidden purpose, exposed secrets, lost valid input, or format coercion changing meaning. Separate inspected logic from native keyboard/assistive execution.

Use [entering-data](../../../apple-hig-patterns/.topics/apple-hig-entering-data/SKILL.md) for form strategy, [virtual-keyboards](../apple-hig-virtual-keyboards/SKILL.md) for entry layout, or [text-views](../../../apple-hig-content/.topics/apple-hig-text-views/SKILL.md) for extended content.

Versions

The database has no other skills named apple-hig-text-fields.

Database snapshot: 13.11.2026 · package version ebdff515b9ee (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 91apple-hig-token-fields
    Use when creating, reviewing, or adapting macOS fields that turn entered terms into selectable and movable tokens.
  • 91apple-hig-entering-data
    Use when creating, reviewing, or adapting data-entry flows, known defaults, required fields, validation, and efficient input alternatives.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.