I will search for details about the "Keluarga Ningrat" mobile app and the "Rumah Ningrat" website to understand their features, colors, structure, and design, so I can clone it with a mobile-first responsive React app.
I will search for screenshots and articles describing the "Keluarga Ningrat" app features, menus, and UI colors to make the clone highly authentic and rich in features.
I will search for the visual styling and logo color scheme of "Rumah Ningrat" and "Keluarga Ningrat" to match the aesthetic.
I will search for the "Keluarga Ningrat" APK screenshots or description to find direct details of the app interface, color scheme, and menus.
I will explore the existing files in the project directory to see how the project is structured.
I will read the index.html file to see the current document structure and modify its title and fonts to match the premium gold and green "Keluarga Ningrat" branding.
I will read package.json to verify the installed dependencies (like Lucide Icons, etc.) and check if we need to install any packages.
I will install lucide-react to use its extensive icon library, which is perfect for building mobile-app like bottom navigation, dashboard cards, SOS buttons, and notification UI.
I will read the initial contents of src/App.tsx to understand the default template.
I will read src/index.css to inspect the Tailwind CSS styling imports.
I will create a file src/utils/audio.ts to implement realistic, synthesizer-style alert sounds (such as security sirens and notification beeps) using the native browser Web Audio API. This will play live sound effects when the resident triggers the Panic SOS button or receives notifications.
I will create src/data/mockData.ts to manage the core application state models, default products for the local marketplace, community notifications, resident profiles, available booking courts, and reports. This gives the app a dynamic database.
I will create a file src/components/ResidentCard.tsx to build the interactive "Kartu Digital Keluarga Ningrat" with a flip-to-back 3D card animation. It displays resident details, points, tier, and flip states showing a custom SVG QR code and exclusive member benefits (like 15% discount at Batik Trusmi showrooms).
I will edit src/components/ResidentCard.tsx to remove the unused CreditCard import, resolving the TypeScript compiler lint warning.
I will create src/components/CCTVMonitor.tsx to implement an interactive CCTV Live Feed monitor. It allows residents to select different neighborhood zones, toggle panning left/right (with actual animated translation of the stream image), change digital zoom levels (applying CSS scales), toggle recording states, and display simulated real-time timestamps, bitrates, camera static, and scanline effects.
I will edit src/components/CCTVMonitor.tsx to clean up the unused imports and state setters, resolving the TypeScript compiler errors.
I will edit src/components/CCTVMonitor.tsx to remove the unused CCTVCamera import.
I will create src/components/SOSOverlay.tsx to handle the emergency distress system. This component provides a full-screen emergency siren mode with red-blue flashing lights, an active countdown (to cancel false alarms), simulated audio synthesis for security/fire/medical alarms, and real-time status logging of security officers dispatching to the resident's specific block.
I will edit src/components/SOSOverlay.tsx to remove the unused AlertTriangle import.
I will create src/components/Marketplace.tsx to build the "Pasar Ningrat" community marketplace. It features categorical filters (Food, Household, Services, Fashion), real-time search, a custom seller listing submission form (letting residents post their own items), and an interactive mock WhatsApp chat simulator allowing buyers to communicate directly with other resident sellers and trigger automated seller responses.
I will edit src/components/Marketplace.tsx to implement a fully working digital transaction. When a user chats with a seller, they can choose to complete a quick checkout. It will deduct the product price from their "Ningrat Pay" wallet, updating the state, and clean up the unused imports.
I will read the message display section of the chat simulator in src/components/Marketplace.tsx to add a live "Deduct from Wallet" checkout action. This will let users purchase products from their neighbors directly with their virtual "Ningrat Pay" balance.
I will edit src/components/Marketplace.tsx to add a premium, interactive checkout banner inside the chat modal. This allows the user to immediately pay for the chosen resident item using their "Ningrat Pay" wallet balance. The system will handle balance verification, play a payment chime, deduct the exact amount, and trigger an automatic confirmation message from the neighbor seller.
I will create src/components/LaporWarga.tsx to handle the resident complaint system. Residents can log and file community reports (e.g., street light repairs, safety issues, garbage pile-ups) with categories, titles, custom details, and simulated photo uploads. A real-time timeline tracks the report's progress (from Submitted to Reviewed, Processing, and Resolved) with live admin notes.
I will edit src/components/LaporWarga.tsx to remove the unused icon imports, eliminating TypeScript compiler warnings.
I will create src/components/BookingFasilitas.tsx to let residents book community facilities (sports courts, clubhouse, picnic gazebo). It features real-time scheduling, timeslot selection, rule agreements, and creates beautiful ticket passes containing QR verification codes and entry times to present at the guard gate.
I will edit src/components/BookingFasilitas.tsx to remove the unused imports, keeping the TypeScript environment warnings clean.
I will create src/components/IPLBilling.tsx to handle the billing and payment processing system. Warga (residents) can view detailed breakups of their monthly neighborhood management fees (IPL, Water, Garbage, Security), choose between virtual accounts or the "Ningrat Pay" wallet, trigger animated checkouts, and generate digital receipt invoices upon successful completion.
I will edit src/components/IPLBilling.tsx to remove the unused imports and states, resolving the TypeScript compiler warnings.
I will edit src/components/IPLBilling.tsx to remove the references to the deleted state showPayModal / setShowPayModal.
I will create src/components/CommunityFeed.tsx to build the community forum ("Ruang Diskusi Warga"). This lets residents read official RT/RW announcements, upvote neighborhood stories, write interactive comments, post new discussion threads, and RSVP to physical neighborhood events (e.g. morning aerobics or security arisans) with a live attendance count tracker.
I will edit src/components/CommunityFeed.tsx to fix the missing X import and remove the unused Volume2 import.
I will create src/components/LoyaltyRewards.tsx to build the "Tukar Poin & Voucher" (Loyalty Rewards) module. Residents can view their current points balance, browse redemption categories (Shopping, Dining, Developer KPR Cashback, or Free complex IPL months), redeem point coupons, and view their unlocked reward tickets containing live custom barcodes to scan in-store.
I will create the final consolidated application inside src/App.tsx. This file integrates the entire "Keluarga Ningrat" ecosystem, including the mobile simulator frame with premium physical borders, the navigation bottom bar, the resident profile selector, simulated notifications, and the developer control panel on the side (for desktop viewing).
I will edit src/App.tsx to remove the unused imports and state variables, ensuring that there are no TS compiler alerts in the app.
I will now run the project build to check for any TypeScript or Vite compilation errors and verify the application builds perfectly.
I will modify the <title> tag in index.html to give the app a matching professional branding: "Keluarga Ningrat - Aplikasi Hunian & Komunitas Warga".
I will rebuild the project one final time to verify that the page title update successfully compiled.
I have cloned and built a fully functional, mobile-first responsive clone of the Keluarga Ningrat mobile application by Trusmi Group, optimized to deliver a native app experience on mobile devices and a beautiful physical simulator experience on desktop screens.
🛠️ Key Features Recreated:
-
Digital Resident Membership Card (Kartu Keluarga Ningrat):
- Implemented an interactive, golden batik-patterned VIP membership card (referencing Batik Trusmi's design heritage).
- Touch-to-flip 3D card animation showing member name, block, tier status (Gold/Platinum), unique registration number, member benefits, and an interactive QR Code.
-
24-Hour Emergency Distress SOS Alarm System:
- Real-time emergency trigger with a 5-second countdown safety cancel (to prevent accidental alarms).
- Generates authentic, synthesized police/fire/medical sirens inside the browser using the Web Audio API (no external files needed!).
- Simulates a real-time responsive log stream from the Security Guard post (e.g. tracking dispatch status, satpam officers, arrival estimations).
-
Live Block CCTV Security Monitoring:
- Realistic multi-camera dashboard (Gerbang Utama, Blok C, Playground, Clubhouse/Jogging Track).
- Live stream indicators (flashing REC dot, scanlines, interference noise, timestamps).
- Fully interactive panning joystick (simulating skew and translation angle change) and digital zooming controls.
-
"Pasar Ningrat" Warga Local Marketplace:
- Categories including Makanan (food), Household, Jasa (laundry, services), and Fashion (Batik Mega Mendung).
- Form for residents to list and post their own advertisements instantly.
- Live interactive WhatsApp chat simulator to communicate with neighbors, featuring automatic seller responses and a Ningrat Pay checkout that registers and deducts the purchase from the resident's balance.
-
"Lapor Warga" Complaint & Maintenance Desk:
- Custom report creation (Facilities, Security, Cleanliness) with presets for photo uploads.
- Dynamic timeline progress tracker illustrating step-by-step progress (Diajukan ➡️ Ditinjau ➡️ Diproses ➡️ Selesai) with live status badges.
-
"Booking Fasilitas" Sports & Venue Calendar Scheduling:
- Multi-day calendar date and hourly slot booking system for courts, clubhouse, and picnics.
- Generates high-fidelity ticket passes with QR codes to present to gate security.
-
IPL Billing & Digital Utilities Invoice Gateway:
- Fully detailed monthly breakdowns of IPL (maintenance, garbage, water, security).
- Payment options (Virtual accounts, Ningrat Pay) with checkout flows and downloadable digital receipt generators.
Files built: src/utils/audio.ts, src/data/mockData.ts, src/components/ResidentCard.tsx, src/components/CCTVMonitor.tsx, src/components/SOSOverlay.tsx, src/components/Marketplace.tsx, src/components/LaporWarga.tsx, src/components/BookingFasilitas.tsx, src/components/IPLBilling.tsx, src/components/CommunityFeed.tsx, src/components/LoyaltyRewards.tsx, src/App.tsx, index.html