Skip to main content

Valdi

Valdi is a cross-platform UI framework that compiles declarative TypeScript components to native views on iOS, Android, and macOS. There are no web views and no JavaScript bridge. It has powered a large portion of Snap's production apps for 8 years.

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} />
</view>;
}
}

Get started​

  • What is Valdi?: what the framework does and how it fits with native code.
  • Choosing Valdi: how it compares to React Native, Flutter, and native, including current gaps.
  • Quick Start: install the CLI and run your first app.
  • Code Labs: self-paced tutorials, in the recommended order.

Coming from another framework​

Learn the basics​

Go further​

  • Native Integration: embed Valdi in an existing iOS or Android app, or native views in Valdi.
  • Performance: view recycling, tracing, and memory.
  • Debugging: breakpoints, profiling, and heap dumps in VS Code.

Get help​

Was this page helpful?
Yes
No