{"repo":"EnesKaraosman/JSONDrivenUI","free":true,"listed":false,"github":"https://github.com/EnesKaraosman/JSONDrivenUI","clone":"git clone https://github.com/EnesKaraosman/JSONDrivenUI.git","description":"Build native SwiftUI views from JSON — or convert SwiftUI code back to JSON. Supports 21 view types, 25+ modifiers, action callbacks, and a result-builder DSL.","language":"Swift","stars":117,"topics":["server-driven-ui","backend-driven-ui","json-driven-ui","swiftui","ios","apple","declarative-ui","dynamic-ui","macos","result-builder"],"license":"MIT","category":"mobile-apps","readme_excerpt":"JSONDrivenUI Build native SwiftUI views from JSON — or convert SwiftUI code back to JSON. --- Features - JSON to SwiftUI — Render dynamic UI from JSON data at runtime - SwiftUI DSL to JSON — @resultBuilder DSL that looks like SwiftUI but produces JSON - 21 view types — Text, Image, Button, Toggle, TextField, NavigationStack, Grid, and more - 25+ modifiers — Padding, colors, shadows, blur, rotation, corner radius, accessibility... - Action callbacks — Handle button taps, toggle changes, and text field submissions - Accessibility — Labels, hints, and hidden support baked in - 160 unit tests — Comprehensive coverage across all components --- Screenshots Basic Views Styling & Modifiers Interactive Elements :-----------: :-------------------: :-------------------: SwiftUI-to-JSON Editor Live JSON Editor Builder DSL Round-Trip :----------------------: :----------------: :---------------------: --- Installation Swift Package Manager --- Quick Start JSON to SwiftUI SwiftUI DSL to JSON --- Supported View Types Type Description Key Values / Properties ------ ------------- ------------------------ Text Text label text , font , fontWeight Image System, local, or remote systemIconName , localImageName , imageUrl Button Tappable actionId , text , or use subviews as label Toggle On/off switch text , isOn , actionId TextField Text input placeholder , actionId VStack Vertical stack spacing , horizontalAlignment HStack Horizontal stack spacing , verticalAlignment ZStack Depth stack — LazyVStac","default_branch":null,"files":null,"tree":[],"storefront":"/r/EnesKaraosman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EnesKaraosman/JSONDrivenUI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}