Components
Loading preview...
The LoadingRadar component is a sleek radar-style loading animation built with React, TypeScript, and Tailwind CSS. It creates a circular scanner effect that continuously rotates, resembling a radar sweep. The outer container is a large dark-bordered circle with inset shadows that give it a 3-D depth. Inside it, there’s a smaller dashed ring and a central dashed circle to mimic radar grid lines. The rotating “sweep” is made using a half-circle span with a glowing green blur and drop-shadow to create a smooth scanning beam. The animation is handled using a custom keyframe named radar81, which spins the sweep 360 degrees every two seconds. This component is entirely responsive, requires no external libraries other than Tailwind, and adds a visually appealing loader for dashboards, analytics pages, or any data-intensive UI where a radar-like loading effect is desired.