Overview
Text input elements capture user-entered text and numbers. Choose the right type based on what you’re collecting—each type provides appropriate validation and UI.Text Input
Single-line text input for short text like usernames, titles, or labels.Properties
Validation
Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
Display name:Textarea
Multi-line text input for longer content like descriptions or messages.Properties
Validation
Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
Description field:URL Input
URL input with built-in validation to ensure valid HTTP/HTTPS addresses.Properties
Validation
URL inputs automatically validate that the value starts with
http:// or
https://. Use pattern for additional constraints like requiring HTTPS.Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
External link:Number Input
Numeric input with min/max validation.Properties
Validation
Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
Item limit:Complete Example
Here’s a contact form using multiple text input types:linkapp.config.ts
Validation Error Messages
When validation fails, users see helpful messages:Next Steps
Selection Controls
Select, radio, and checkbox elements
Toggles
Switch and link behavior elements
Advanced Elements
Arrays, integrations, and conditional display
Back to Reference
Return to settings reference overview