@nakshi/genui-blocks

Components

Eleven blocks, each drawn here by its default view. Every sample but the code block is a real reply from the benchmark, unedited: what the model wrote when asked the question under it. Press Stream it to watch a block arrive the way it does in a reply.

Stepsui:steps

Streams by item

A procedure, or the stages of a process, in order.

The model reads: 2–12 things done or happening in order: a how-to, a procedure, the stages of a process (not a numbered list). detail is one or two sentences; time only when it matters ("10 min", "Day 1").

how to tie a tie (a simple knot)

Tie a four-in-hand knot

  1. Position the tie
    Drape it around your collar, seam facing inward. Keep the wide end on your right, about 12 inches lower than the narrow end.
  2. Cross over
    Cross the wide end over the narrow end toward your left.
  3. Wrap behind
    Bring the wide end behind the narrow end and back to your right.
  4. Wrap across the front
    Bring the wide end across the front toward your left again. Keep this front band slightly loose with a finger.
  5. Bring it up
    Pass the wide end upward through the neck loop from underneath.
  6. Thread and tighten
    Feed the wide end down through the loose front band. Pull it down gently, then hold the narrow end and slide the knot up to your collar.
The reply's steps block, from gpt-6.1-sol on the benchmark, unedited
View
StepsView
Block
import { steps } from '@nakshi/genui-blocks'

Checklistui:checklist

Streams by item

Things to tick off, in groups. The ticks are kept.

The model reads: things to tick off (packing, documents, shopping, to-dos), grouped by category; never a - [ ] list.

What should I pack for a three-day beach trip?

Three-day beach packing list

0 of 22 done

Clothing
Beach essentials
Toiletries and health
Travel essentials
The reply's checklist block, from gpt-6.1-sol on the benchmark, unedited
View
ChecklistView
Block
import { checklist } from '@nakshi/genui-blocks'

Recipeui:recipe

Streams by item

Ingredients that rescale with the servings.

The model reads: ingredients for servings, with a numeric qty (leave it out for "to taste"); the method follows as steps.

How do I make a simple tomato pasta for four people?

Simple tomato pasta

Serves 4· 25 min
  • 400 g Pasta, such as spaghetti or penne
  • 2 tbsp Olive oil
  • 3 Garlic cloves, finely chopped
  • 800 g Canned chopped tomatoes
  • Salt and black pepper (To taste)
  • Fresh basil (Optional, torn)
  • Grated Parmesan (Optional, to serve)
The reply's recipe block, from gpt-6.1-sol on the benchmark, unedited
View
RecipeView
Block
import { recipe } from '@nakshi/genui-blocks'

Statsui:stats

Streams by item

The few figures an answer turns on.

The model reads: 2–6 headline figures the answer turns on, exactly as your sources state them; the source in note.

What are the headline numbers from this commuter survey?

Source given to the model: Commuter survey 2025: 1,250 people surveyed; 72% commute by public transport; the median commute is 34 minutes; satisfaction rose 6 points from 2024.

Commuter survey 2025

People surveyed
1,250
Commute by public transport
72%
Median commute
34 minutes
Satisfaction change
+6 points
From 2024

Source: supplied search results.

The reply's stats block, from gpt-6.1-sol on the benchmark, unedited
View
StatsView
Block
import { stats } from '@nakshi/genui-blocks'

Chartui:chart

Drawn whole

A series of numbers as bars or lines, with the table behind it.

The model reads: a series of numbers: 2–24 categories, 1–4 series in one unit, one value per label (null where there is none). Only points you have, labelled as your sources label them.

Show me how Acme Robotics’ revenue grew from 2020 to 2024.

Source given to the model: Acme Robotics annual revenue: 2020 $12.4M, 2021 $18.9M, 2022 $27.3M, 2023 $35.1M, 2024 $41.8M.

Acme Robotics annual revenue, 2020–2024 ($M)
2020: Revenue 12.4 $M. 2021: Revenue 18.9 $M. 2022: Revenue 27.3 $M. 2023: Revenue 35.1 $M. 2024: Revenue 41.8 $M02040602020202120222023202441.820202021202220232024
Show the numbers
Revenue
202012.4
202118.9
202227.3
202335.1
202441.8

Source: the search figures you provided.

The reply's chart block, from gpt-6.1-sol on the benchmark, unedited
View
ChartView
Block
import { chart } from '@nakshi/genui-blocks'

Compareui:compare

Streams by item

Options on the same rows, with the best of each row marked.

The model reads: 2–4 options on the same 3–8 rows; best is the 0-based column that wins a row. A small grid may stay a Markdown table.

PostgreSQL or MySQL for a small web app? Compare them.

PostgreSQL vs. MySQL

PostgreSQLMySQL
Everyday web-app workExcellent for users, orders, content, and transactions.Excellent for the same core workloads.
Queries and data modelingEspecially strong for complex SQL, rich data types, and advanced constraints.Covers typical app needs well, including joins, CTEs, and window functions.
JSONJSONB offers flexible querying and indexing; useful for mixed relational and document data.Native JSON support; indexing commonly uses generated columns or functional indexes.
PerformanceWell suited to small apps and more demanding workloads.Also well suited; neither is universally faster. Schema, indexes, and queries matter more.
Hosting and operationsWidely available as a managed service.Widely available as a managed service and common on shared hosting.
Reasons to choose itYou’re starting fresh or expect evolving queries and data requirements.Your team knows it, your stack recommends it, or your host supports it better.
The reply's compare block, from gpt-6.1-sol on the benchmark, unedited
View
CompareView
Block
import { compare } from '@nakshi/genui-blocks'

Cardsui:cards

Streams by item

Options that each need their own words, with a photo when there is one.

The model reads: 2–8 options that each need their own words (approaches to choose between, a menu); match the count asked. image is a photo URL a source gave you, never one you invent. Options on the same attributes are a compare.

Suggest four weekend projects for a beginner woodworker.

Beginner-friendly weekend builds

1. Small bookshelf

Build a low, freestanding shelf from pine boards, with two sides, a top, and one or two shelves.

  • Practice: measuring accurately, square cuts, and predrilling screw holes.
  • Keep it simple: use butt joints with wood glue and screws; add a plywood back to prevent wobbling.
2. Planter box

Make a rectangular outdoor planter from cedar or untreated boards, sized to hold a nursery pot.

  • Practice: repeat cuts, spacing, and assembling a square frame.
  • Keep it simple: let the pot hold the soil, and leave gaps in the wooden bottom for drainage.
3. Wall-mounted coat rack

Sand a single board, soften its edges, and add a row of screw-on hooks.

  • Practice: surface preparation, even spacing, and applying a finish.
  • Keep it simple: use purchased hooks and mount the board into wall studs or suitable anchors.
4. Open-top tool tote

Build a small wooden carrier with a flat bottom, low sides, and a dowel handle between taller end pieces.

  • Practice: drilling aligned holes, assembling a box, and smoothing edges.
  • Keep it simple: use straight cuts throughout and drill the handle holes before assembly.
The reply's cards block, from gpt-6.1-sol on the benchmark, unedited
View
CardsView
Block
import { cards } from '@nakshi/genui-blocks'

Calloutui:callout

Drawn whole

One real hazard, or the one tip not to miss.

The model reads: at most one: a real hazard (warning, titled with the danger), or the one tip they must not miss. Never a definition, a "key idea" or a summary.

Can I mix bleach and vinegar to clean my bathroom?

The reply's callout block, from gpt-6.1-sol on the benchmark, unedited
View
CalloutView
Block
import { callout } from '@nakshi/genui-blocks'

Tabsui:tabs

Streams by item

Separate views of one thing, when someone asks for them.

The model reads: only when they ask for separate views of one thing: 2–6 tabs of short Markdown, no nested fences.

Explain how to install Node.js, with separate tabs for Windows, macOS and Linux.

Install Node.js

1. Download: Visit nodejs.org and download the Windows installer (.msi) for the LTS version, choosing the architecture that matches your PC. 2. Install: Run the installer and keep the default options, including npm and adding Node.js to PATH. Extra build tools are optional unless your project requires them. 3. Verify: Open a new PowerShell or Command Prompt window. Run node --version, then npm --version. Both should print version numbers.

The reply's tabs block, from gpt-6.1-sol on the benchmark, unedited
View
TabsView
Block
import { tabs } from '@nakshi/genui-blocks'

Accordionui:accordion

Streams by item

Sections to open and close, like an FAQ.

The model reads: only when they ask for sections they can open and close (an FAQ): 2–8 items of short Markdown.

Write an FAQ I can open and close about returning items to an online shop.

Returns FAQ

How do I start a return?

Sign in to your account, find your order and select the return option. If you checked out as a guest, use the link in your confirmation email or contact customer support.

How long do I have to return an item?

Check the shop’s return window and whether it runs from purchase or delivery. Some policies set separate deadlines for requesting a return and sending the item back.

What condition must the item be in?

For change-of-mind returns, shops often require items to be unused, with tags and original packaging. Different rules may apply to faulty items or returns covered by consumer law.

Are any items excluded from returns?

Personalised goods, perishable products, digital content and unsealed hygiene products may have restrictions. Check the product listing and returns policy; exclusions may not remove your rights if an item is faulty.

Do I have to pay for return shipping?

This depends on the shop’s policy and the reason for the return. Check whether a return label is provided and whether its cost will be deducted from your refund.

What if my item is damaged, faulty or incorrect?

Contact customer support promptly with your order number and a description of the problem. Photos may help. Keep the item and packaging until the shop confirms the next steps.

Can I exchange an item?

Some shops offer direct exchanges; others require you to return the original item and place a new order. Availability and price may differ when you reorder.

When will I receive my refund?

Refund timing depends on return delivery, processing and your payment provider. Check the shop’s stated timeline, keep proof of postage and contact support if that timeline passes without an update.

The reply's accordion block, from gpt-6.1-sol on the benchmark, unedited
View
AccordionView
Block
import { accordion } from '@nakshi/genui-blocks'

Codeui:code

Drawn whole

A file, when the file is what was asked for.

The model reads: a titled card when a file is the deliverable; any other code stays a normal ```lang fence.

Write the catalog file for a GenUI app with the default blocks.

catalog.ts · ts
import { createDefaultCatalog, defaultGuide } from '@nakshi/genui-blocks';

export const catalog = createDefaultCatalog('ui');
export const system = defaultGuide(catalog);
export const reminder = catalog.reminder();

Put `system` in the system prompt and `reminder` last in the turn.

Written by hand: no benchmark case asks for a file, so code otherwise stays a plain fence
View
CodeView
Block
import { code } from '@nakshi/genui-blocks'

Your own component

A block is a zod schema, a streaming rule, a line on when to use it and a text form. Its guide line is generated from the schema, and it reads, repairs and streams like these eleven.

How to define one