WRAPCODERS

Agent Compliance Bento

AI chats

About

Hairline compliance bento pairing a policy-as-code block and accuracy ring with validation, vulnerability, and audit columns.

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

Code

How Agent Compliance Bento is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { useEffect } from "react";
import { AgentComplianceBento } from "@/components/ui/agent-compliance-bento";

const PROFILE_REFERRAL_URL = "https://21st.dev/@wrapcoders?ref=mdruhulhasan";

const settings = {
  title: "Compliance built for AI agents",
  description:
    "Establish clear operational limits and keep automated workflows aligned with company truth.",
  workflowTitle: "Workflow automation",
  accuracyPercent: 97,
  verifiedAccuracyPercent: 99,
  defaultValidationMode: "Business" as const,
  showFooterCredit: true,
};

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

  useEffect(() => {
    if (typeof window === "undefined") return;
    const themeParam = new URLSearchParams(window.location.search).get("theme");
    if (themeParam === "dark") {
      document.documentElement.classList.add("dark");
    } else if (themeParam === "light") {
      document.documentElement.classList.remove("dark");
    }
  }, []);

  return (
    <div className="flex min-h-screen w-full flex-col items-center justify-center bg-background text-foreground">
      <AgentComplianceBento
        title={s.title}
        description={s.description}
        workflowTitle={s.workflowTitle}
        accuracyPercent={s.accuracyPercent}
        verifiedAccuracyPercent={s.verifiedAccuracyPercent}
        defaultValidationMode={s.defaultValidationMode}
      />
      {s.showFooterCredit && (
        <footer className="pb-10 text-center">
          <a
            href={PROFILE_REFERRAL_URL}
            target="_blank"
            rel="noopener noreferrer"
            className="rounded-sm text-xs text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
          >
            More by @wrapcoders
          </a>
        </footer>
      )}
    </div>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    121
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Creator Community Arc

    Creator Community Arc

    69
  • LoopAI CRM

    LoopAI CRM

    68
  • Isometric Card Stack

    Isometric Card Stack

    55
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    54
  • Client Management CRM Hub

    Client Management CRM Hub

    48
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Actions

    AI Actions

    372
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • Aquarium Prompt

    Aquarium Prompt

    219
  • Message Parts

    Message Parts

    10
  • AI Chat Composer

    AI Chat Composer

    21

Explore more

Part of Components — browse the full library on 21st.dev.