All skills
raintree-technology avatar

/hig-components-controls

@71d5f4e

Apple HIG guidance for selection and input controls including pickers, toggles, sliders, steppers, segmented controls, combo boxes, text fields, text views, labels, token fields, virtual keyboards, rating indicators, and gauges. Use this skill when the user says "picker or segmented control," "how should my form look," "what keyboard type should I use," "toggle vs checkbox," or asks about picker design, toggle, switch, slider, stepper, text field, text input, segmented control, combo box, label, token field, virtual keyboard, rating indicator, gauge, form design, input validation, or control state management. Cross-references: hig-components-menus, hig-components-dialogs, hig-components-search.

Use this Skill: https://skilld.dev/gh/raintree-technology/hig-doctor/hig-components-controls

This session only. Nothing lands on disk.

referencestext-fields.md

≈489 tokens on demand. Your agent reads this file only when SKILL.md points to it.

<!-- hig-doctor:attribution -->

Source: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/text-fields. This file is a structured index of that content, snapshot 2025-02-02. Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.

Text fields

Best practices

Use a text field to request a small amount of information, such as a name or an email address.

Show a hint in a text field to help communicate its purpose.

Use secure text fields to hide private data.

To the extent possible, match the size of a text field to the quantity of anticipated text.

Evenly space multiple text fields.

Ensure that tabbing between multiple fields flows as people expect.

Validate fields when it makes sense.

Use a number formatter to help with numeric data.

Adjust line breaks according to the needs of the field.

Consider using an expansion tooltip to show the full version of clipped or truncated text.

In iOS, iPadOS, tvOS, and visionOS apps, show the appropriate keyboard type.

Minimize text entry in your tvOS and watchOS apps.

Platform considerations

iOS, iPadOS

Display a Clear button in the trailing end of a text field to help people erase their input.

Use images and buttons to provide clarity and functionality in text fields.

macOS

Consider using a combo box if you need to pair text input with a list of choices.

watchOS

Present a text field only when necessary.


<!-- hig-doctor:canonical-footer -->

For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/text-fields

Source: SKILL.md on GitHub

No alerts17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides Apple Human Interface Guidelines (HIG) reference material for UI controls. It is a documentation-only skill with no executable components, high-privilege operations, or suspicious behaviors.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 71d5f4e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 8 months ago
version
1.0.0

README badge

README badge for raintree-technology/hig-doctor/hig-components-controls