syncfusion-maui-text-input-layout

$npx mdskill add syncfusion/maui-ui-components-skills/syncfusion-maui-text-input-layout

Add floating labels, icons, and validation to MAUI input controls.

  • Enhances Entry, Editor, Autocomplete, and ComboBox with decorative elements.
  • Depends on Syncfusion .NET MAUI toolkit and SfTextInputLayout control.
  • Selects container type, labels, icons, and error states based on user intent.
  • Generates XAML or C# code to integrate into the MAUI application.

SKILL.md

.github/skills/syncfusion-maui-text-input-layoutView on GitHub ↗
---
name: syncfusion-maui-text-input-layout
description: Implements Syncfusion .NET MAUI Text Input Layout (SfTextInputLayout). Use when adding decorative elements like floating labels, icons, assistive labels, or containers to Entry, Editor, Autocomplete, or ComboBox controls. Covers text input layout setup, hint labels, helper text, error messages, character counter, and password visibility toggle.
metadata:
  author: "Syncfusion Inc"
  version: "34.1.29"
---

# Implementing .NET MAUI Text Input Layout

A comprehensive skill for implementing and customizing the Syncfusion .NET MAUI Text Input Layout control. This control adds decorative elements like floating labels, icons, and assistive labels on top of input views.

## When to Use This Skill

Use this skill when users need to:
- Add floating hint labels to input fields
- Display helper text, error messages, or character counters
- Implement container types (Filled, Outlined, None) for input fields
- Add leading or trailing icons to input views
- Toggle password visibility in Entry controls
- Apply visual states (Normal, Focused, Error) to inputs
- Customize label styles, colors, and fonts
- Support multiple input views (Entry, Editor, Autocomplete, ComboBox, Picker)
- Implement form validation with error states
- Add assistive labels for accessibility
- Create Material Design-style input fields

## Component Overview

**SfTextInputLayout** wraps input controls and provides:
- **Floating Labels** — Hint that animates to top on focus
- **Container Types** — Filled (background), Outlined (border), None
- **Assistive Labels** — Helper text, error messages, character counter
- **Custom Icons** — Leading/trailing views with positioning
- **Visual States** — Normal, Focused, Error, Disabled
- **Password Toggle** — Show/hide password characters
- **RTL Support** — Right-to-left text flow
- **Multiple Input Views** — Entry, Editor, Autocomplete, ComboBox, Picker, DatePicker, TimePicker, Masked Entry, Numeric Entry

**Key Features:**
- Material Design-style input decoration
- Floating hint label animation
- Helper and error text display
- Character counting with max length
- Leading/trailing icon positioning (Inside/Outside)
- Password visibility toggling
- Visual State Manager integration
- Customizable fonts, colors, and strokes
- Reserved space for assistive labels

## Documentation and Navigation Guide

### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
- NuGet package installation (`Syncfusion.Maui.Core`)
- Handler registration (`ConfigureSyncfusionCore`)
- Namespace setup (XAML and C#)
- Basic implementation with Entry
- Adding hint labels
- Password visibility toggle basics
- First working example

### Container Types and Styling
📄 **Read:** [references/container-types.md](references/container-types.md)
- ContainerType property (Filled, Outlined, None)
- Filled container with background
- Outlined container with border
- ContainerBackground customization
- OutlineCornerRadius for rounded corners
- InputViewPadding for spacing
- Visual examples per type

### Hints and Assistive Labels
📄 **Read:** [references/hints-and-labels.md](references/hints-and-labels.md)
- Hint/floating label (Hint, ShowHint)
- Fixed hint position (IsHintAlwaysFloated)
- Helper text (HelperText, ShowHelperText)
- Error text (ErrorText, HasError)
- Character counter (CharMaxLength, ShowCharCount)
- Reserved space (ReserveSpaceForAssistiveLabels)
- Label styling (HintLabelStyle, HelperLabelStyle, ErrorLabelStyle)
- Font customization (FontFamily, FontSize, FontAttributes)

### Custom Icons and Views
📄 **Read:** [references/custom-icons.md](references/custom-icons.md)
- Leading view (LeadingView, LeadingViewPosition)
- Trailing view (TrailingView, TrailingViewPosition)
- Inside vs Outside positioning
- Font icons and unicode
- Custom view integration
- Event handling for icon actions
- Common icon patterns (calendar, search, clear)

### States, Colors, and Theming
📄 **Read:** [references/states-and-colors.md](references/states-and-colors.md)
- Visual states (Normal, Focused, Error, Disabled)
- Stroke property for borders
- CurrentActiveColor property
- Visual State Manager integration
- Stroke thickness (FocusedStrokeThickness, UnfocusedStrokeThickness)
- Container background colors
- Label text colors
- Theme integration

### Advanced Features and Events
📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
- Password visibility toggle (EnablePasswordVisibilityToggle)
- PasswordVisibilityToggled event
- Right-to-left support (FlowDirection)
- Supported input views (Entry, Editor, Autocomplete, ComboBox, etc.)
- Platform-specific limitations
- How-to scenarios
- Troubleshooting

More from syncfusion/maui-ui-components-skills

SkillDescription
syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applications. Covers AccordionItem configuration, expand modes, and grouped content display.
syncfusion-maui-ai-assistviewImplements Syncfusion .NET MAUI AI AssistView (SfAIAssistView) for AI-powered interactive chat interfaces. Use when working with AI chat interfaces, AI AssistView, SfAIAssistView, conversational UI, or chat with AI responses. Covers integrating AI services, creating chat UIs, implementing conversation flows, managing AI requests/responses, and displaying AI suggestions.
syncfusion-maui-autocompleteImplements and configure Syncfusion .NET MAUI Autocomplete (SfAutocomplete) control for intelligent text input with suggestions. Use when implementing autocomplete, autosuggest, type-ahead search, smart search, or filtered dropdowns in .NET MAUI applications. Covers data binding, filtering modes, custom search logic, AI-powered search, multi-selection with tokens, and UI customization.
syncfusion-maui-avatar-viewImplements Syncfusion .NET MAUI Avatar View (SfAvatarView) for displaying user profile pictures, initials, or group avatars. Use when working with avatar views, profile pictures, user images, initials display, profile icons, or contact images. Ideal for implementing user profile displays, contact lists, chat interfaces, or social feeds.
syncfusion-maui-backdropImplements Syncfusion .NET MAUI Backdrop Page (SfBackdropPage) with back layer and front layer surfaces. Use when working with backdrop pages, SfBackdropPage, back layer, front layer, or reveal/conceal animations. Covers backdrop navigation patterns, header icons, corner shapes, reveal height, layer state events, and liquid glass effect.
syncfusion-maui-badge-viewImplements Syncfusion .NET MAUI Badge View (SfBadgeView) control. Use when adding badge notifications, status indicators, unread counts, or notification overlays to MAUI applications. Covers SfBadgeView setup, badge text customization, position adjustments, animations, predefined symbols, and accessibility features.
syncfusion-maui-barcode-generatorImplements Syncfusion .NET MAUI Barcode Generator (SfBarcodeGenerator) for generating machine-readable barcodes. Use when working with barcodes, barcode generation, QR codes, data matrix, EAN codes, UPC codes, Code128, or Code39. This skill covers both one-dimensional (linear) and two-dimensional (matrix) barcode symbologies with extensive customization options.
syncfusion-maui-busy-indicatorImplements Syncfusion .NET MAUI Busy Indicator (SfBusyIndicator) for showing loading states, data processing, and app activity indicators. Use when displaying loading indicators, busy animations, activity spinners, or processing feedback in .NET MAUI apps. Covers busy indicator setup, animations, and visual feedback during long-running operations.
syncfusion-maui-buttonImplements and customize Syncfusion .NET MAUI Button (SfButton) control. Use when working with MAUI buttons, SfButton implementation, button customization, or visual states. Covers button icons, background images, RTL support, Liquid Glass effects, custom button views, button styling, events, and checkable buttons.
syncfusion-maui-calendarImplements and customize Syncfusion .NET MAUI Calendar (SfCalendar) control. Use when implementing calendar functionality, date selection (single, multiple, range), or calendar views (month, year, decade, century). Covers date restrictions (min/max dates, EnablePastDates, SelectableDayPredicate), calendar customization, events (ViewChanged, SelectionChanged, Tapped), and header/footer customization.