Overview
Selection elements let users choose from predefined options. Pick the right element based on how many options you have and whether users can select one or multiple items.Select Dropdown
Dropdown menu for choosing one option from a list. Best when you have many options (3+).Properties
Options Format
Validation
Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
Theme selector:Radio Buttons
Radio button group for choosing one option. Best for 2-5 options where users benefit from seeing all choices at once.Properties
Validation
Example
linkapp.config.ts
Usage in Layout
app/expanded.tsx
Common Patterns
Layout choice:Radio buttons show all options at once, making them perfect for choices users
need to compare visually. Use
select if you have more than 5 options.Checkbox
Checkbox input for single acceptance (like terms) or multiple selections.Properties
Validation
- Single checkbox: Provide 1 option (returns array with 1 item or empty array) - Multiple checkboxes: Provide 2+ options (returns array of selected values)
Example: Single Checkbox
For terms acceptance or single on/off choice:linkapp.config.ts
app/expanded.tsx
Example: Multiple Checkboxes
For selecting multiple options:linkapp.config.ts
app/expanded.tsx
Common Patterns
Terms acceptance:Comparison
Choose the right selection element:Complete Example
Here’s a product display configurator using all selection types:linkapp.config.ts
Type Safety
Define exact types for your selections:Next Steps
Text Inputs
Text, textarea, URL, and number inputs
Toggles
Switch and link behavior elements
Advanced Elements
Arrays, integrations, and conditional display
Back to Reference
Return to settings reference overview