A lightweight loading indicator component built with pure CSS and Tailwind CSS. Display processing states and async feedback with animated spinners, dots, bars, and ring variants. Supports multiple sizes and color variants for accessible, zero-JavaScript loading feedback.
Loading components display visual indicators while content is being fetched or processed, keeping users informed and preventing perceived delays. Built with semantic HTML and smooth CSS animations, loading spinners communicate active background operations. The Frutjam loading system supports multiple styles, colors, and sizesโideal for data tables, file uploads, form submissions, and asynchronous operations.
Class
Type
Description
loading
Base
Spinning ring indicator, inherits text color by default
<pclass="text-primary flex items-center gap-2"><spanclass="loading loading-sm"></span>
Inherits primary text color
</p><pclass="text-error flex items-center gap-2"><spanclass="loading loading-sm"></span>
Inherits error text color
</p>