Cuenca.

Flouvia’s component library. Structure, behavior, accessibility, motion and sound, solved in every component. Each project brings its own look.

  • Gota the icon
  • Cauce the spring
  • Onda the sound

Hover it and press it.

The icon is Gota’s, the spring on hover is Cauce’s and the drop on press is Onda’s. Cuenca doesn’t rebuild them: it delivers them together, in a single button.

Decided once.

Every component has its spec and its tests. Its name, size, response and sound are decided once and hold in every project: a new one starts with that solved and spends its time on what sets it apart. The button, text fields, selection, navigation and the slider are already in use across Flouvia’s site, portal and Ops; surfaces, data and status, in the portal and Ops; the number field and the combo box, in Ops; and file upload, in the portal.

Craft and look.

Cuenca guarantees the craft of every component, in any project. What you see is a theme, and each project changes it completely. Flouvia’s theme is the reference.

See the themes

Flouvia Dark. The reference.

Light example An example client.

The light theme uses DM Sans. This site loads no external fonts, so here it renders in the system font.

What Cuenca guarantees

  • Structure
  • Behavior
  • WCAG 2.2 AA accessibility
  • Cauce’s motion
  • Onda’s sound

What each project brings

  • Color
  • Type
  • Shape
  • Proportion
  • Density

The same piece everywhere.

A site in Astro, an app in React and a Shopify store write the same button, with the same HTML.

Read the guide
  • CSS on native HTML

    A <button> does something and an <a> takes you somewhere else. Styles live in their own layer, @layer cuenca, and what the project writes always wins.

  • W3C tokens

    The look comes from tokens in the W3C format, on three levels: the palette, the theme’s roles and each component’s own.

  • Astro, React and Liquid

    Three wrappers that write exactly the same HTML. A test compares them on every change.

HTML
<button class="cu-button" type="button" data-appearance="filled" data-size="medium">
  <svg class="cu-icon" aria-hidden="true" viewBox="0 0 24 24">…</svg>
  <span class="cu-label">Create project</span>
</button>

Status.

Cuenca grows one component at a time. Each one goes through the lab and an approved spec before it’s built. It’s available once Flouvia uses it.

All components

Available

In use across Flouvia: the site, the portal and Ops.

  • Button
  • Text fields
  • Number field
  • Selection
  • Chip
  • Sheet and modal
  • Menu and popover
  • Table
  • Card
  • Metric
  • Avatar
  • Notices
  • Tooltip
  • Help
  • Empty state and missing value
  • Progress and loading
  • Tabs
  • Accordion
  • Pagination
  • Slider
  • Combo box
  • File upload
  • Color
  • Shape

In design

With its approved spec: built and reviewed before it reaches Flouvia.

  • Dates, combo box and files Dates
  • Foundations Type · Space

The code is private until v1, which opens it under the MIT license. The license