Skip to content
Sections
Rastrillo components

Overview

Rastrillo components aim to be a starter framework for any app to get a consistent, polished, accessible UI with no or minimal JavaScript dependence, available in multiple languages, and using clean, modern HTML and CSS. They're designed to be delightful to use with or without LLM assistance, and easily remixable. Each one is shown here with the call you write beside what it renders; the look comes from Fiesta, which has its own design system.

The demo application

A working app built only from these components: a dashboard, a list, one record open. Each has its own address. No JavaScript.

Preview

Open the demo application (opens in a new tab).

Where to go next

  • Getting startedHow a new app gets Fiesta's stylesheets and scripts, and how to update them.
  • Tokens on FiestaEvery custom property in Fiesta's design system: the theme's colour and type, and the scales for size, spacing and radius.
  • IconsEvery icon slug, at the size components draw it, with the call to copy and its lucide.dev name.
  • List screenGeneric list screen with title, toolbar, rows that work desktop and mobile.
  • DisplayThe small pieces of vocabulary a screen is assembled from: status, identity, progress and the one alert shape.
  • Tables and chartsA table of figures and three charts: a bar chart, a line chart and a sparkline. The server draws them without JavaScript.
  • FormThe fields a person types into, in the states a real form puts them in. Each one sits in a padded rst-box, because that is the rule these partials assume.
  • Choices and actionsThe controls that pick from options, and the rows that end a form. Each one sits in a padded rst-box, because that is the rule these partials assume.
  • Date and timeThe four fields datetime.js enhances, each keeping its native input underneath, so a reader with no script gets the plain control and not a broken one.
  • RouteThe pieces that are a whole response rather than a piece of one.
  • UI primitives on FiestaFiesta's UI primitives, the markup you write by hand in a template: buttons, cards, data grids, the modal and the shells' own chrome.
  • Dates, numbers and namesHow to show dates, numbers, money, names and addresses, and which ones people mix up.
  • ScreensExamples of screens built from Rastrillo components. You can use these as starter templates for your own apps.
  • ShellsThe page frames rastrillo new can scaffold. Each opens full width.