
SwiftUI-compatible framework for building browser apps with @SwiftWasm
Joined February 2019
- Tweets15
- Following0
- Followers515
- Likes15
Tokamak 0.11.0 is now available!
It includes SwiftWasm 5.7 support, a new Fiber backend for faster updates and larger View hierarchies, Layout protocol support, meta tags, and more!
Check out the full release notes: github.com/TokamakUI/Tokamak…
Tokamak retweeted
I made a word game this weekend with @TokamakUI to test the new layout system. I was able to build the UI just like I would a native SwiftUI app, which was awesome! If you haven’t yet, you should try building something!
Code: github.com/carson-katri/grid…
Game: griddle.buildpassed.com
Tokamak retweeted
We're happy to announce the new release of SwiftWasm tracking upstream Swift 5.6! It is accompanied by new releases of JavaScriptKit, carton, and @TokamakUI. More details about these releases available in our blog post: blog.swiftwasm.org/posts/5-6…
Tokamak 0.9.0 is now available! New in 0.9:
• Canvas and TimelineView (see attached demo, thanks @CarsonKatri);
• onHover modifier (thanks Adam Gastineau);
• task modifier for running async functions;
• sanitizers for Text view (thanks Ezra Berch)
github.com/TokamakUI/Tokamak…
Tokamak retweeted
I've been working on converting a Mac SwiftUI app (crate.as) into a Windows app via @TokamakUI and Electron. Still a long way to go, but I think its so cool to actually use SwiftUI to build for Windows!
Tokamak 0.8.0 is out. This release introduces Toolbar, Animation, ProgressView, Material, Gradient, ContainerRelativeShape, related modifiers, bug fixes, and much more. Many thanks to @CarsonKatri, @ezraberch, and @yonihemi for contributions! 👏
github.com/TokamakUI/Tokamak…
Tokamak 0.7.0 is out! This release introduces new view types such as DatePicker, new modifiers, improves test coverage, and fixes bugs and crashes. Additionally, a proof of concept GTK renderer is now available in the TokamakGTK module.
github.com/TokamakUI/Tokamak…
Tokamak retweeted
I'm sponsoring @CarsonKatri because @TokamakUI and @swiftwasm are building something truly incredible. I highly recommend checking both projects out, as well as the other (incredibly talented) members of the team!
github.com/sponsors/carson-k…
Tokamak retweeted
In case you missed it: @TokamakUI can integrate with Publish using the `TokamakPublish` package, giving you a SwiftUI-compatible way of building your site’s theme — github.com/TokamakUI/Tokamak…

ALT Example code: struct MyThemeFactory<Site: Website>: TokamakHTMLFactory { func makePageView(for page: Page, context: PublishingContext<Self.Site>) throws -> PageView { Text("Welcome to my website") .font(.largeTitle) VStack(alignment: .leading) { page.body } .frame(idealWidth: 820, maxWidth: 820) .padding(.vertical, 40) Text("2020 © Tokamak Contributors") .font(.caption) } ... }
Tokamak 0.6.0 is out, which adds `Image` view, w/ support for loading images bundled as SwiftPM resources. It also adds the `PreferenceKey` protocol and related modifiers. Many thanks to @CarsonKatri and @jed_fox1 for implementing these features!
github.com/TokamakUI/Tokamak…
Tokamak 0.5.3 is out. Since 0.5.0 we've improved compatibility with Xcode autocomplete, fixed order of updated in-tree views when their type changes, and fixed `Toggle` value not updated when reset from a binding. Release notes available on GitHub. github.com/TokamakUI/Tokamak…
Tokamak 0.5 adds `Link` view implementation and updates our JavaScriptKit and OpenCombine dependencies. Also, starting with this version you can get working autocomplete in Xcode for apps that use Tokamak when opening your `Package.swift` file.
github.com/TokamakUI/Tokamak…
Tokamak 0.4.0 introduces `Slider` support in the DOM renderer, and fixes SVG bindings that previously didn't work. It is compatible w/ JavaScriptKit 0.7 and carton 0.6, both of those are pretty big updates that improve developer experience significantly.
github.com/TokamakUI/Tokamak…
Tokamak 0.3.0 improves compatibility with SwiftUI for browser apps and now supports App/Scene lifecycle, dark mode styles, StateObject property wrapper, NavigationView, and GeometryReader. Check out the release notes: github.com/swiftwasm/Tokamak…
And here's a quick demo video:
Tokamak 0.2.0 with the new WebAssembly/DOM renderer and a subset of the SwiftUI API is now available. We've made huge progress during the last two months in terms of the API coverage with many more exciting features coming soon!
github.com/swiftwasm/Tokamak…




