sitelo UI

sitelo-ui is a component library for sitelo. Every component is a function that returns a string of HTML, so it nests straight into the page you are already writing — no compiler, no runtime, no hydration.

Every example in this section is rendered by the same build that renders the page around it. What you see is what the code beneath it produced, and it follows this site’s light and dark themes because sitelo-ui reads the same data-theme attribute the docs do.

Layout

Typography

Inputs

Data display

Feedback

Overlays

Sections

Styling

Getting set up

Two lines: import the components, and put styles() in the head. The Components page in the docs covers installation, theming, the calling convention and the optional client runtime, and lists every export in one table.

The examples/ui directory in the repository renders the whole set on a single page.