settings section of linkapp.config.ts defines the form people fill out when they add your LinkApp. Whatever they enter comes back to your layouts as strongly typed props.
Minimal Example
linkapp.config.ts
Flow
- You define elements in
linkapp.config.ts. - Users complete the generated form inside Linktree.
- Layout components receive the answers via
AppProps.
app/expanded.tsx
Elements in a Nutshell
Each object insettings.elements becomes a form field and a prop. Focus on these keys:
id– unique prop name (use camelCase).inputType– field type (text,switch,select, etc.).label/title– copy shown in the form.defaultValue– starter value.validation– optional rules.
/essentials/settings-reference.
Helpful Options
title– heading shown above the form.overview– short description block at the top.uses_url– require the built-inlinkUrlfield.settings_tab_title– rename the settings tab text.setup_instructions– markdown-friendly setup tips for complex flows.featured_chin_position– control chin positioning:"minimal","above","below","overlayBelow", or"overlayAbove".featured_head_allow_unlocked_aspect_ratio– allow unlocked aspect ratio for featured head (boolean).sheet_behavior– control sheet behavior:"none","expandGeneric","expandVideo", or"default"(optional).featured_head_click_behavior– control click behavior on featured head:"linkOff","expand","custom","inlineVideoPlayer", or"default"(optional).
has_settings; it’s inferred when elements is present.
Tips
- Pick descriptive IDs because they become prop names.
- Give defaults so the preview works immediately.
- Keep descriptions short and actionable.
/essentials/settings-reference when you need the details.