berserker 0.1.15

Cyber Viking Kvasir Graph (CVKG) - High-fidelity agentic UI framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use cvkg::prelude::*;

#[derive(View)]
struct App;

impl App {
    fn body(&self) -> impl View {
        VStack::new()
            .push(Text::new("Hello Cyber Viking"))
            .push(Button::new("Click Me", || println!("Clicked!")))
            .padding(20.0)
            .background(Color::rgb(0.05, 0.05, 0.1))
    }
}

fn main() {
    cvkg::native::NativeRenderer::run(App);
}