Building Blocks for the Web

Clean, modern building blocks for Codex, Claude Code, OpenTeam.AI-UI MCP, and other MCP-powered AI workflows. Give AI production-ready UI it can assemble, adapt, and ship under your OpenTeam.AI commercial license.

Files
components/admin/previews/admin-account-dropdown-preview.tsx
import { AdminAccountDropdownPreview } from "@/components/admin/account-dropdown"

export const description =
  "A rich account dropdown preview with upgrade, billing, notifications, and sign out actions."

export const iframeHeight = "760px"

export function AdminAccountDropdownBlock() {
  return (
    <div className="flex min-h-[700px] items-center justify-center bg-[radial-gradient(circle_at_top,_rgba(59,130,246,0.12),_transparent_40%)] p-6">
      <AdminAccountDropdownPreview />
    </div>
  )
}
An admin account dropdown with upgrade, billing, notifications, and sign-out actions.
admin-account-dropdown-01
Files
components/admin/previews/admin-sidebar-preview.tsx
import { AdminPageShell } from "@/components/admin/page-shell"

export const description =
  "An admin sidebar shell with grouped navigation, collapsible page groups, and a footer account menu."

export const iframeHeight = "960px"

export function AdminSidebarBlock() {
  return (
    <AdminPageShell currentPath="/users">
      <div className="grid gap-6">
        <div className="rounded-[28px] border bg-card p-6">
          <p className="text-sm font-medium tracking-[0.24em] text-muted-foreground uppercase">
            Admin Sidebar
          </p>
          <h1 className="mt-3 text-3xl font-semibold tracking-tight">
            Browse every core workspace page from one shell
          </h1>
          <p className="mt-2 max-w-2xl text-muted-foreground">
            This block mirrors the UI Dashboard navigation model with grouped
            sections, nested routes, badge support, and an account dropdown in
            the footer.
          </p>
        </div>
        <div className="grid gap-4 md:grid-cols-3">
          {["Dashboard", "Tasks", "Chats"].map((item) => (
            <div key={item} className="rounded-[24px] border bg-card p-5">
              <div className="text-lg font-medium">{item}</div>
              <p className="mt-2 text-sm text-muted-foreground">
                Preview the navigation state AI can reuse when installing admin
                pages into a customer project.
              </p>
            </div>
          ))}
        </div>
      </div>
    </AdminPageShell>
  )
}
An admin sidebar shell with grouped navigation, collapsible page groups, and a footer account menu.
admin-sidebar-01