Syed

Fluid Aura Stats

Shaders 8

About

Editorial 3-column stats grid with pointer-reactive WebGL fluid cloud hover auras, superscript metric typography, and smooth color-inverted transitions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fluid Aura Stats to your project and fits it to your theme.

Code

How Fluid Aura Stats is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import React from "react";
import { FluidAuraStats } from "@/components/ui/fluid-aura-stats";
import type { FluidStatsTheme } from "@/components/ui/fluid-aura-stats";

const settings = {
  theme: "auto",
  speed: 1,
  interactive: true,
  defaultActiveIndex: -1,
  showDividers: true,
};

const VALID_THEMES: FluidStatsTheme[] = ["auto", "light", "dark"];

export default function FluidAuraStatsDemo(
  props: Partial<typeof settings>
) {
  const config = { ...settings, ...props };

  const theme: FluidStatsTheme = VALID_THEMES.includes(
    config.theme as FluidStatsTheme
  )
    ? (config.theme as FluidStatsTheme)
    : "auto";

  const speed =
    typeof config.speed === "number" && Number.isFinite(config.speed)
      ? Math.min(3, Math.max(0.2, config.speed))
      : 1;

  const defaultActiveIndex =
    typeof config.defaultActiveIndex === "number" &&
    Number.isFinite(config.defaultActiveIndex)
      ? Math.min(2, Math.max(-1, Math.round(config.defaultActiveIndex)))
      : -1;

  return (
    <div className="flex min-h-[420px] w-full items-center justify-center p-4 sm:p-8">
      <FluidAuraStats
        theme={theme}
        speed={speed}
        interactive={Boolean(config.interactive)}
        defaultActiveIndex={defaultActiveIndex}
        showDividers={Boolean(config.showDividers)}
      />
    </div>
  );
}

export { FluidAuraStatsDemo as Demo, FluidAuraStatsDemo as demo };

Dependencies

More by Syed

View all
  • Animated Beam Integration

    Animated Beam Integration

    164
  • Emotion Wheel v2

    Emotion Wheel v2

    161
  • Projec tWorkflow Tree

    Projec tWorkflow Tree

    147
  • SpatialCardCarousel

    SpatialCardCarousel

    138
  • Agency Bento Grid

    Agency Bento Grid

    103
  • Unlimited Design Hero

    Unlimited Design Hero

    98
  • Morphing Island Navbar

    Morphing Island Navbar

    92
  • Fitness Bento Grid

    Fitness Bento Grid

    83

More in Shaders

View all
  • Glass Fold

    Glass Fold

    572
  • Shader Animation

    Shader Animation

    3.9K
  • LightSpeed

    LightSpeed

    252
  • Stripe like gradient-shader

    Stripe like gradient-shader

    276
  • Chroma Sense Hero

    Chroma Sense Hero

    16
  • Shader Lines

    Shader Lines

    2.4K
  • Stream Search

    Stream Search

    71
  • DitheredShaderBackground

    DitheredShaderBackground

    55