Tech News
← Back to articles

Snapchat open-sources Valdi a cross-platform UI framework

read original related products more articles

Valdi

Note Beta Status: Valdi has been widely used in Snap's production apps for the last 8 years. We're calling this a beta because our tools and documentation need more battle testing in the open source world. Valdi will exit beta when we're happy with the developer experience.

Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity. Write your UI once in declarative TypeScript, and it compiles directly to native views on iOS, Android, and macOS—no web views, no JavaScript bridges.

Quick Example

A basic Valdi component:

import { Component } from 'valdi_core/src/Component' ; class HelloWorld extends Component { onRender ( ) { const message = 'Hello World! 👻' ; < view backgroundColor = '#FFFC00' padding = { 30 } > < label color = 'black' value = { message } /> ; } }

Quick Links

Why Choose Valdi?

Valdi is a cross-platform UI framework designed to solve the fundamental problem of cross-platform development: velocity vs. runtime performance. For 8 years, it has powered a large portion of Snap's production apps.

True Native Performance

... continue reading