Application page

Project Explorer

Developer workspace with a collapsible project tree, breadcrumbs, and source preview.

Open Markdown
home.rsModifiedLn 18, Col 24
use proa_core::{WebContext, WebRenderSync};
use proa_macros::html_sync;
use proa_ui::{Button, Card};

pub struct WelcomeCard;

impl<B: proa_core::WriteBuf, L: proa_core::DataLoader> WebRenderSync<L, B>
    for WelcomeCard
{
    fn render(self, cx: &mut WebContext<L, B>) -> Result<(), proa_core::WriteError> {
        html_sync! {
            {Card {
                class: Some("max-w-lg"),
                children: Some(html_sync! {
                    <h1 class="text-2xl font-semibold">"Welcome back"</h1>
                    <p class="text-muted-foreground">"Your workspace is ready."</p>
                    {Button { children: Some("Open project"), ..Default::default() }}
                }),
            }}
        }
        .render(cx)
    }
}
Workspace healthyRust 1.88UTF-82 warnings
ProProject Explorer

Developer workspace with a collapsible project tree, breadcrumbs, and source preview.

This composition uses Pro-only component source and requires an active Proa UI Pro license.

View Pro pricing

Search

Type at least 2 characters

Customize

Make it yours

Palette

Radius

Overview
Components
Settings

Build your own

Themed Proa UI surface

Preview
Components52
RecipesTyped
customer-portal