benday: Halftone Thinking Indicators from Logos for AI Interfaces

LinkKacem MathlouthiTool

benday is a React component that transforms any logo into an animated field of Ben-Day dots, serving as a branded thinking indicator for AI and agent interfaces instead of standard spinners.

Key points

  1. Installs via the shadcn registry CLI, copying seven TypeScript files directly into the project without external package dependencies beyond React.
  2. Architecture: The logo is rasterised once, separated via alpha or luminance mask, processed through a Euclidean distance transform, and sampled into a dot map.
  3. Optimised for performance and accessibility: pauses rendering off-screen, respects prefers-reduced-motion, and supports baking the dot map at build time.
  4. Includes 21 animation presets across categories like Sweep, Orbit, Field, and Transform, with support for custom pure functions.

Why it matters

AI interfaces frequently require users to wait for generative responses. Generic loading spinners degrade brand presence, whereas benday leverages the brand's own logo for dynamic state feedback.

Analysis

benday effectively blends visual polish with practical front-end engineering. Restricting rendering to a lightweight dot map and supporting pre-computation avoids browser performance pitfalls, while distributing via the shadcn registry pattern prevents dependency lock-in.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:@Alok619308

    Cue Kit: Open-Source React Components with Accompanying AI Prompts

    Cue Kit provides over 50 free, MIT-licensed React UI components. Many designs include the original AI prompt alongside the component code, allowing direct use in AI workflows. Developers can import components directly via the shadcn CLI.

    Web development· Tool

  • Link:magicui.design

    Magic UI: Animated UI Components for React and Tailwind CSS

    Magic UI provides over 150 free, open-source animated components and effects. Built with React, TypeScript, Tailwind CSS, and Motion, it serves as a companion library to shadcn/ui for frontend developers and design engineers.

    Web development· Tool

  • Link:pixelcave

    CodedVisuals: Animated UI Illustration Library for shadcn

    CodedVisuals provides a library of 122 animated, copy-paste coded illustrations featuring over 1,150 ready-made variations across 32 categories. Components can be previewed, copied, or installed directly through the shadcn registry.

    Web development· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.