NiceEntry 1.5.1
dotnet add package NiceEntry --version 1.5.1
NuGet\Install-Package NiceEntry -Version 1.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NiceEntry" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NiceEntry" Version="1.5.1" />
<PackageReference Include="NiceEntry" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NiceEntry --version 1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NiceEntry, 1.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NiceEntry@1.5.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NiceEntry&version=1.5.1
#tool nuget:?package=NiceEntry&version=1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NiceEntry
Labeled input controls for .NET MAUI with built-in validation, required field indicators, and light/dark theme support.
Features
- LabeledEntry — Text input with floating label
- LabeledPicker — Dropdown picker with label
- LabeledDatePicker — Date selector with label
- LabeledTimePicker — Time selector with label
- LabeledAutoCompleteEntry — Entry with inline suggestion dropdown (new in 1.5)
- Built-in validation error display (red border + error messages)
- Required field indicator (
*) - Unit suffix label with customizable font, size, and color
- Configurable content padding
- Example/hint text below the control
- Platform-specific native styling (Android & iOS)
- Light and dark theme support
Platforms
| Platform | Minimum Version |
|---|---|
| Android | 21+ |
| iOS | 15+ |
Installation
dotnet add package NiceEntry
Usage
Add the namespace to your XAML:
xmlns:nice="clr-namespace:NiceEntry;assembly=NiceEntry"
Basic entry
<nice:LabeledEntry Label="Name"
Text="{Binding Name}"
Placeholder="Enter your name"
IsRequired="True" />
Entry with unit suffix
<nice:LabeledEntry Label="Battery size"
Text="{Binding BatterySize}"
Unit="kWh"
Keyboard="Numeric" />
Custom unit styling
<nice:LabeledEntry Label="Weight"
Text="{Binding Weight}"
Unit="kg"
UnitFontSize="20"
UnitFontFamily="Georgia"
UnitColor="DarkOrange" />
Custom padding
<nice:LabeledEntry Label="Extra padding"
Text="{Binding Value}"
ContentPadding="24,20" />
Validation errors
Bind Error to an IReadOnlyCollection<string> — when non-empty, the border turns red and messages display below the control:
<nice:LabeledEntry Label="Email"
Text="{Binding Email}"
Error="{Binding EmailErrors}" />
Picker
<nice:LabeledPicker Label="Country"
ItemsSource="{Binding Countries}"
SelectedItem="{Binding SelectedCountry}" />
Date and time pickers
<nice:LabeledDatePicker Label="Select a date"
Date="{Binding SelectedDate}" />
<nice:LabeledTimePicker Label="Select a time"
Time="{Binding SelectedTime}"
IsRequired="True" />
Auto-complete entry
Filter a list of suggestions as the user types. Tap a row to commit it back into the entry.
<nice:LabeledAutoCompleteEntry Label="ICAO code"
Placeholder="e.g. ESGG"
Text="{Binding IcaoText}"
Suggestions="{Binding IcaoSuggestions}"
MaxSuggestions="6"
CommitOnUpperCase="True" />
| Property | Type | Description |
|---|---|---|
Suggestions |
IEnumerable |
Source list filtered against Text |
MaxSuggestions |
int |
Cap on visible rows (default 8; negative = unbounded) |
CommitOnUpperCase |
bool |
Auto-uppercase typed text (useful for codes) |
SuggestionTemplate |
DataTemplate |
Custom row template (default: single Label) |
Common Properties (LabelBase)
| Property | Type | Description |
|---|---|---|
Label |
string |
Floating label text |
IsRequired |
bool |
Shows a red * indicator |
Error |
IReadOnlyCollection<string> |
Validation error messages |
Unit |
string |
Unit suffix (e.g. "kWh", "kg") |
UnitFontSize |
double |
Font size for the unit label |
UnitFontFamily |
string |
Font family for the unit label |
UnitColor |
Color |
Text color for the unit label |
ContentPadding |
Thickness |
Inner padding (default: 12,10 Android / 12,12 iOS) |
Example |
string |
Hint text displayed below the control |
LabeledEntry Properties
| Property | Type | Description |
|---|---|---|
Text |
string |
Input text (two-way binding) |
Placeholder |
string |
Placeholder text |
PlaceholderColor |
Color |
Placeholder text color |
Keyboard |
Keyboard |
Keyboard type (Default, Numeric, Email, etc.) |
MaxLength |
int |
Maximum input length |
IsPassword |
bool |
Mask input as password |
IsReadOnly |
bool |
Prevent editing |
ReturnType |
ReturnType |
Return key type |
ReturnCommand |
ICommand |
Command on return key press |
HorizontalTextAlignment |
TextAlignment |
Text alignment |
FontSize |
double |
Input text font size |
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.41)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.41)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.