mcpField
S
syncfusion-maui-text-input-layout

syncfusion-maui-text-input-layout

github.com/syncfusionDevelopment61212 installsUpdated 2w ago
Repository

About syncfusion-maui-text-input-layout

A skill for developers implementing Syncfusion’s .NET MAUI Text Input Layout to decorate and manage input controls. It documents floating labels, assistive text, icons, validation states, and support for multiple input view types.

Key features

  1. 01Floating and fixed hint labels
  2. 02Helper, error, and character-count labels
  3. 03Filled and outlined containers
  4. 04Leading and trailing custom views
  5. 05Password visibility toggle
  6. 06RTL and visual-state support

Use cases

  1. 01Build validated data-entry forms
  2. 02Add search or calendar icons to fields
  3. 03Show errors and character limits
  4. 04Create password fields with visibility toggle

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/syncfusion/maui-ui-components-skills --skill syncfusion-maui-text-input-layout

After installing, type/syncfusion-maui-text-input-layoutin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
advanced-features.md
container-types.md
custom-icons.md
getting-started.md
hints-and-labels.md
states-and-colors.md

Details

From the project README

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

Comments

Markdown supported