Kinetic UI
Back to Introduction
Sections

LighthouseAudits

A beautiful animated dashboard widget displaying Google Lighthouse audit scores with circular progress dials.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add lighthouse-audits

The `LighthouseAudits` component uses Framer Motion to create smooth, satisfying SVG circular progress animations for performance metrics. It's fully customizable and can dynamically adapt its accent color.

Live Preview

Lighthouse Audits
Google Lighthouse Audits
99
Performance
100
Accessibility
100
Best Practices
100
SEO

Installation

npx kinetic-ui-cli@latest add lighthouse-audits

Props

PropTypeDefaultDescription
auditCountnumber4Number of audits to display (1-4). Adjusts layout dynamically.
performancenumber99Performance score to display (0-100).
accessibilitynumber100Accessibility score to display (0-100).
bestPracticesnumber100Best Practices score to display (0-100).
seonumber100SEO score to display (0-100).
colorstring'#10b981'The primary accent color for the SVG progress circles and glowing effects.

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { LighthouseAudits } from "@/components/creative/lighthouse-audits";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { LighthouseAudits } from "@/components/creative/lighthouse-audits";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <LighthouseAudits
        auditCount{10}
        performance{10}
        accessibility{10}
      />
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.