Swift in the Browser โ now with .style
ElementaryFlow 0.1.0 is out: Type-safe CSS in Swift ๐
Works across SSR, CSR, and SSG.
| Website | https://elementary.codes |
| GitHub | https://github.com/elementary-swift |
Swift in the Browser โ now with .style
ElementaryFlow 0.1.0 is out: Type-safe CSS in Swift ๐
Works across SSR, CSR, and SSG.
@torb You could pass an attributes array that you fill with whatever is appropriate at runtime:
https://swiftpackageindex.com/elementary-swift/elementary/0.6.4/documentation/elementary/htmlelement/init(attributes:content:)-33ssx
or use this modifier with a `when:` condition maybe?
https://swiftpackageindex.com/elementary-swift/elementary/0.6.4/documentation/elementary/htmlelement/attributes(_:when:)
Focus is state. Now in the browser.
@โFocusState for ElementaryUI โจ
@airspeedswift Thanks for the kind words, Ben!
And thanks to everybody who made the event what it was - I had a blast!
Thanks to everyone who made the "Swift @ FOSDEM" event such a pleasure - great talks, thoughtful discussions, and a very welcoming crowd!
Find a recording of my talk on Swift in the Browser here if youโre curious ๐

First ElementaryUI sponsor ๐
Motivation: +100
Thank you ๐ SwiftWasm ๐ for the support!
Swift in the Browser with ElementaryUI
Iโll be speaking at the Swift @ FOSDEM 2026 event - come say hi ๐
https://swiftlang.github.io/event-fosdem/#talk6-swift-in-the-browser-with-elementaryui
Did the lack of Unicode in Embedded Swift for WebAssembly give you the ick?
ElementaryUI's Vite plugin just learned a new trick: Unicode support by default!