Componentfeedback1.07 KB gzipZero dependencies

Security Score

Security score with animated arc gauge and per-check pass/fail list.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add security-score

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { SecurityScore } from "@/components/ui/security-score"; <SecurityScore />

Source code

security-score.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxsecurity-score.tsx86 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface SecurityCheck {  id: string;  label: string;  passed: boolean;  hint?: string;} export interface SecurityScoreProps extends React.HTMLAttributes<HTMLDivElement> {  checks: SecurityCheck[];} /** Security health score: circular progress gauge + checklist breakdown. */export function SecurityScore({ checks = [], className, ...props }: SecurityScoreProps) {

Props

PropTypeDescription
checksSecurityCheck[]Configures checks. (Default: [])