A highly customizable React top-loading bar component with hook-based, ref-based, and state-based control patterns.
Agent Success
Agent success rate when using this tile
64%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
51%
Build a React component that shows a top-loading progress bar during file uploads and completes the animation when uploads finish.
Create a FileUploader component that:
The loading bar must:
@generates
import React from "react";
/**
* Component that displays a file upload input with a top-loading progress bar.
* The loading bar automatically starts when a file is selected and completes
* when the upload simulation finishes.
*/
export default function FileUploader(): JSX.Element;Provides the top-loading progress bar component with imperative control methods for starting and completing the loading animation.
Provides the React framework for building the component.
Provides testing utilities for React components.
tessl i tessl/npm-react-top-loading-bar@3.0.0evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10