Skip to main content

Widget Reference

This page is the practical index for choosing widgets by product problem, with starter samples you can paste.

If you need a page per control (usage + public properties + events), go to Widget Pages.

Choose by task

TaskStart hereDocs page
Data entry and validationButton, TextInput, NumberInput, Choice, DataForm<TModel>Inputs & Forms
Navigation and command flowTabs, SideNavRail, CommandPalette, SearchBoxNavigation & Workflow
Investigation and evidenceDataGrid, InspectorPanel, DiffView, LogViewData & Inspection
Metrics and chart surfacesStatsCard, TelemetryChart, Sparkline, DashboardGridDashboards & Plots
Shell chrome and overlaysStatusBar, Dialog, Modal, ResizablePaneGroupShells & Overlays

Sample: form lane

csharp.cs
using Tessera.Controls;
using Tessera.Layout;

var submit = new Button { Text = "Submit" };
var name = new TextInput { PlaceholderText = "Order name" };
var qty = new NumberInput { Value = 1 };

var form = new Form
{
    Title = "Create order",
    Fields =
    {
        FormField.Row("Name", name),
        FormField.Row("Quantity", qty),
        FormField.Row(string.Empty, submit)
    }
};

return Screen.Build(window => window.Body(body => body.Center(form, width: 52, height: 13)));

Sample: data + inspector lane

csharp.cs
using Tessera.Controls;
using Tessera.Layout;

var grid = new DataGrid();
var inspector = new InspectorPanel();

return Screen.Build(window =>
{
    window.Body(body =>
    {
        body.Row(0.72f, grid);
        body.Row(0.28f, inspector);
    });
});

Sample: shell + status lane

csharp.cs
using Tessera.Controls;
using Tessera.Layout;

var status = new StatusBar
{
    LeftText = "Ctrl+Q quit",
    RightText = "Ops shell"
};

return Screen.Build(window =>
{
    window.Footer(1, status);
    window.Body(body => body.Fill(new LogView()));
});

Which examples map to which widgets

Next step

Use Widget Pages for control-by-control details, Widgets Overview for family-level capability mapping, then Public API Inventory for full surface auditing.