Skip to main content

Overview

Advanced elements provide complex functionality like dynamic lists, third-party integrations, and conditional forms. These elements unlock powerful features for sophisticated LinkApps.

Array

Dynamic array of structured inputs for collecting lists of items. Perfect for FAQs, social links, product lists, or any repeating data.

Properties

Array Options

Configure the array UI in the admin:

Validation

linkapp.config.ts
Usage in layout:
app/expanded.tsx

Example: FAQ List

linkapp.config.ts
Usage in layout:
app/expanded.tsx
Use item_format with {{fieldId}} syntax to show a preview of each item in the admin list view.

Conditional Display

Show or hide elements based on the value of other elements. Creates dynamic forms that adapt to user choices.

Properties

Add conditionalDisplay to any element to control its visibility.

Example: Conditional Email Input

linkapp.config.ts

Example: Conditional Based on Select

linkapp.config.ts

Operators

Use conditional display to reduce form complexity and show users only relevant fields.

Integration

Connect to third-party services like email marketing platforms. Requires users to have the integration already set up in their Linktree account.

Properties

Example

linkapp.config.ts
Users must have the integration already connected in their Linktree account. This element lets them select which integration to use with your LinkApp.

File Upload

Upload images, documents, or other file types.

Properties

Example

linkapp.config.ts

Button

Interactive button element that triggers actions.

Properties

Action Properties

Example

linkapp.config.ts

Complete Example: Advanced FAQ App

Here’s a complete example using arrays and conditional display:
linkapp.config.ts

Validation Strategies

Required Arrays

Array Size Limits

Or use validation.maxSize:

Nested Validation

Array elements can have their own validation:

Best Practices

Array Design

Conditional Display

Array Element Names

Type Safety

Define array item types:

Next Steps

Text Inputs

Text, textarea, URL, and number inputs

Selection Controls

Select, radio, and checkbox elements

Toggles

Switch and link behavior elements

Back to Reference

Return to settings reference overview