Testing Ark UI Testing Guide: Machine-Based Components and State Assertions Ark UI (the headless component layer behind Chakra UI v3) is built on Zag.js — a finite state machine framework.