import { useState } from "react"; const swotData = { strengths: { label: "Strengths", tag: "S", accent: "#22c55e", bg: "rgba(34,197,94,0.08)", border: "rgba(34,197,94,0.3)", items: [ { title: "Automated Tenant Screening", detail: "AI analyzes credit scores, rental history, and income data in minutes — reducing human bias and cutting screening time by up to 80%.", }, { title: "Predictive Maintenance", detail: "Machine learning models detect equipment failure patterns, enabling proactive repairs that reduce costs by 25–30% and prevent tenant disruptions.", }, { title: "Dynamic Rent Pricing", detail: "Real-time market analysis allows automated rent optimization, keeping properties competitively priced while maximizing NOI.", }, { title: "24/7 Tenant Communication", detail: "AI chatbots handle maintenance requests, FAQs, and lease queries around the clock — reducing staff workload and boosting tenant satisfaction scores.", }, { title: "Fraud & Risk Detection", detail: "Pattern recognition flags suspicious rental applications and payment anomalies with far greater speed and accuracy than manual review.", }, ], }, weaknesses: { label: "Weaknesses", tag: "W", accent: "#f59e0b", bg: "rgba(245,158,11,0.08)", border: "rgba(245,158,11,0.3)", items: [ { title: "High Implementation Costs", detail: "Upfront software licensing, data migration, and staff retraining can reach six figures for mid-size portfolios, deterring smaller operators.", }, { title: "Data Privacy Risks", detail: "Collecting sensitive tenant data increases exposure to breaches and compliance liabilities under GDPR, CCPA, and local housing regulations.", }, { title: "Algorithmic Bias", detail: "Poorly trained models can perpetuate discriminatory screening patterns, creating fair housing violations and reputational damage.", }, { title: "Integration Complexity", detail: "Legacy property management systems often lack modern APIs, making seamless AI integration technically challenging and expensive.", }, { title: "Loss of Human Judgment", detail: "Nuanced tenant situations — hardship cases, disputes, community dynamics — can be mishandled when AI replaces contextual human reasoning.", }, ], }, opportunities: { label: "Opportunities", tag: "O", accent: "#3b82f6", bg: "rgba(59,130,246,0.08)", border: "rgba(59,130,246,0.3)", items: [ { title: "Smart Building Integration", detail: "AI paired with IoT sensors enables fully automated HVAC, lighting, and access control — cutting energy costs up to 40% and differentiating premium properties.", }, { title: "Portfolio-Scale Analytics", detail: "Cross-portfolio dashboards surface investment risks, occupancy trends, and cap rate shifts that would take months to analyze manually.", }, { title: "Virtual Property Tours", detail: "AI-powered 3D walkthroughs and VR tours expand leasing reach globally, reducing vacancy periods in competitive markets.", }, { title: "Sustainable Operations", detail: "AI-driven energy management helps landlords meet ESG benchmarks and qualify for green building certifications that attract institutional tenants.", }, { title: "Hyper-Personalized Tenant Experience", detail: "Behavioral data enables tailored lease renewals, amenity suggestions, and retention strategies — boosting renewal rates by 15–20%.", }, ], }, threats: { label: "Threats", tag: "T", accent: "#ef4444", bg: "rgba(239,68,68,0.08)", border: "rgba(239,68,68,0.3)", items: [ { title: "Regulatory Scrutiny", detail: "Governments are moving to restrict AI use in housing decisions. New York, Colorado, and the EU have introduced algorithmic accountability laws.", }, { title: "Cybersecurity Vulnerabilities", detail: "AI-managed building systems create expanded attack surfaces. A single breach could disable physical access controls, utilities, or payment systems.", }, { title: "Tenant Backlash", detail: "Perceived surveillance (smart sensors, AI monitoring) and impersonal service can erode trust and accelerate churn in tenant-friendly markets.", }, { title: "Vendor Lock-In", detail: "Dependence on proprietary AI platforms creates negotiating leverage for vendors and operational risk if platforms pivot, fail, or raise prices.", }, { title: "Displacement of Jobs", detail: "Automation of property management roles risks labor disputes, reputational harm, and political pressure from advocacy groups.", }, ], }, }; const quadrantOrder = ["strengths", "opportunities", "weaknesses", "threats"]; export default function SWOTAnalysis() { const [activeQuadrant, setActiveQuadrant] = useState(null); const [activeItem, setActiveItem] = useState(null); const handleQuadrantClick = (key) => { if (activeQuadrant === key) { setActiveQuadrant(null); setActiveItem(null); } else { setActiveQuadrant(key); setActiveItem(null); } }; return (
{/* Header */}
Strategic Analysis · 2024

AI in Property Management

A SWOT framework for the intelligent real estate era

{/* SWOT Grid */}
{quadrantOrder.map((key) => { const q = swotData[key]; const isActive = activeQuadrant === key; return (
handleQuadrantClick(key)} style={{ background: isActive ? q.bg : "rgba(255,255,255,0.03)", border: `1px solid ${isActive ? q.accent : "rgba(255,255,255,0.08)"}`, borderRadius: "12px", padding: "24px", cursor: "pointer", transition: "all 0.3s ease", position: "relative", overflow: "hidden", }} > {/* Corner Tag */}
{q.tag}
{/* Label */}
{q.label}
{/* Item count */}
{q.items.length} key factors · click to explore
{/* Item Titles */}
{q.items.map((item, i) => (
{ e.stopPropagation(); if (activeQuadrant !== key) { setActiveQuadrant(key); setActiveItem(i); } else { setActiveItem(activeItem === i ? null : i); } }} style={{ padding: "10px 14px", borderRadius: "8px", background: activeQuadrant === key && activeItem === i ? `rgba(${q.accent .match(/\d+/g) .slice(0, 3) .join(",")}, 0.18)` : "rgba(255,255,255,0.04)", border: `1px solid ${ activeQuadrant === key && activeItem === i ? q.border : "rgba(255,255,255,0.06)" }`, cursor: "pointer", transition: "all 0.2s", }} >
{item.title}
{activeQuadrant === key && activeItem === i && (
{item.detail}
)}
))}
); })}
{/* Summary bar */}
{quadrantOrder.map((key) => { const q = swotData[key]; const summaries = { strengths: "Efficiency, speed, and scale gains from intelligent automation.", weaknesses: "Cost barriers, bias risks, and data vulnerability concerns.", opportunities: "Smart buildings, sustainability, and hyper-personalization.", threats: "Regulation, cybersecurity exposure, and workforce disruption.", }; return (
{q.label}
{summaries[key]}
); })}
Click any quadrant · Click any item to expand insight
);