Demos /

Display & data

Working framework components, paired with the Java that composes them.

Alert

Informational, success, warning and danger states.

Information
Saved
Review needed
Validation failed
Java composition
new Div().withChild(Alert.info("Information")).withChild(Alert.success("Saved")).withChild(Alert.warning("Review needed")).withChild(Alert.danger("Validation failed"));

Badge

Short status labels with explicit text.

DraftReviewed

Java composition
new Paragraph().withChild(Badge.info("Draft")).withChild(Badge.success("Reviewed"));

Tag

A content category, not a clickable filter.

Java
Java composition
Tag.create("Java").withColor("success");

Label

A compact textual label.

Java composition
Label.create("Server-rendered");

Spinner

A visible loading indicator; this specimen is not a background request.

Java composition
Spinner.create().small();

ProgressBar

A 72 percent specimen with semantic progress information.

Java composition
ProgressBar.create(72).success();

InfoBox

An explicitly illustrative metric, not site telemetry.

Example queue
12
Java composition
InfoBox.create().withTitle("Example queue").withValue("12");

Card

A header/body surface.

Review queue
Three example documents await review.
Java composition
Card.create().withHeader("Review queue").withBody("Three example documents await review.");

CardGrid

Cards composed into a responsive grid.

Draft
Write
Review
Read
Java composition
CardGrid.create().withColumns(2).addCard(Card.create().withHeader("Draft").withBody("Write")).addCard(Card.create().withHeader("Review").withBody("Read"));

Table

A manually specified table.

BoundaryOwner
EscapingFramework
AuthorizationApplication
Java composition
Table.create().withHeaders("Boundary", "Owner").addRow("Escaping", "Framework").addRow("Authorization", "Application").bordered();

DataTable

Columns are typed functions over application data.

Stage
Compose
Render
Java composition
DataTable.create(String.class).addColumn("Stage", value -> value).withData(List.of("Compose", "Render")).striped();

OrderedList

An ordered workflow.

  1. Compose
  2. Compile
  3. Render
Java composition
OrderedList.create().addItem("Compose").addItem("Compile").addItem("Render");

UnorderedList

An unordered collection.

  • Java
  • HTML
Java composition
UnorderedList.create().addItem("Java").addItem("HTML");