Support Wire Drupal

Fund development, features & content

Sponsor

Component Features

Explore advanced component features like file uploads, pagination, and data handling.

Available Features

Wire provides several built-in features to handle common UI patterns:

  • File Uploads - Handle file uploads with progress tracking and validation
  • Query String - Sync component state with URL parameters
  • Pagination - Implement efficient data pagination
  • Redirecting - Navigate users programmatically

When to Use These Features

These features are designed to solve specific problems you'll encounter when building interactive applications:

File Uploads

Use when you need to:

  • Accept file uploads from users
  • Show upload progress
  • Validate file types and sizes
  • Handle multiple file uploads

Query String

Use when you need to:

  • Make component state shareable via URL
  • Preserve filter/search state on page refresh
  • Enable browser back/forward navigation

Pagination

Use when you need to:

  • Display large datasets efficiently
  • Reduce initial page load time
  • Provide navigation through data pages

Redirecting

Use when you need to:

  • Navigate after successful actions
  • Implement conditional navigation
  • Handle authentication flows