Skip to content
@jcsoftdev/ui

React, Tailwind and Compose

Turn a dial. The whole kit changes.

547 accessible React components and 98 chart types that restyle from attributes on <html>: style, accent, density, radius, glass and theme. Liquid Glass is one position of the dial. Zero runtime dependencies on the web, a Compose Multiplatform twin on mobile.

pnpm add @jcsoftdev/ui react react-dom
Style
Accent
547components
98chart types
1912documented stories
23tree-shakable subpaths
6style presets
0runtime theming JS

Zero runtime theming

The same markup, six looks

These cards are server-rendered with identical HTML. The only difference is one data-style attribute on the wrapper. No theme provider, no CSS-in-JS, and no JavaScript in the cards. The dial panel is the one island here, and all it does is set attributes on <html>.

<section data-style="brutal" data-accent="lavanda">
<!-- same components, new look -->
</section>

soft

Rounded, quiet shadows

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

bordered

Hairlines, no shadows

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

elevated

Layered depth

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

flat

No borders, no shadows

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

glass

Translucent, blurred

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

brutal

Hard edges, offset shadow

data-style

Diego Quispe

16:00 · Design review

Confirmed
Revenue today$1,240+12% vs. yesterday

Your brand colour, live

Tokens are plain CSS variables. There is no createTheme(): author a tokens JSON, run ui-theme build, and switch with data attributes. Or override a few variables on any scope, as below.

Terminal window
npx ui-theme build my-tokens.json --out src/theme

Every dial

Six attributes. The whole page restyles.

data-style
data-accent
data-theme
data-density
data-radius
data-glass
Turns glass surfaces liquid; in the Glass style that includes menus, dialogs and bars.
<html data-style="soft" data-accent="coral" data-theme="dark"
      data-density="normal" data-radius="auto" data-glass="frosted">
#2f6bff
Accent chip
A link in the accent ink
[data-brand] {
  --accent: #2f6bff;
  --on-accent: #ffffff;
}

Real components, not screenshots

See it live

Everything below is the published library running in your browser. Drag the Kanban cards, edit a spreadsheet cell, hover the globe. Turn a dial in the panel above, or in the bar at the bottom of the screen, and every tile follows.

Revenue dashboard

KPIs and charts that fill their container

Meta superada

Globe with routes

Drag, or use the arrow keys

SVG

Crossfilter

Click a bar or drag the hours: every chart follows

Linked

Kanban

Drag cards, or pick them up with the keyboard

Drag and drop

Calendar and agenda

Week view, 5 to 11 October

Caja abierta

Logo Forge

Generate and export a brand mark

SVG / PNG

What is included

547 components, grouped by job

Every card is a live component from the package. Click one to read its docs.

  • Thinking about your schedule…

    AI15

    Chat, streaming text, tool calls, sources.

  • LiveOpen

    Atoms25

    Buttons, chips, switches, avatars, progress.

  • Barbería Lima

    Brand2

    Logo marks and brand building blocks.

  • Calendar6

    Month, week and agenda calendars.

  • Charts98

    SVG charts with keyboard support.

  • Revenue todayS/ 1 240+12% vs. yesterday

    Containers100

    Cards, KPIs, data grids, banners, layout.

  • Forms35

    Inputs, selects, ratings, date and file fields.

  • Navigation12

    Tabs, segmented controls, breadcrumbs.

  • Overlays61

    Dialogs, sheets, menus, popovers, toasts.

  • Palette1

    Command palette with fuzzy search.

  • Shell4

    App shell, sidebars and top bars.

  • You are offline

    Changes sync when you reconnect.

    States7

    Empty, error and loading states.

Liquid Glass

Glass that bends what is behind it

An SVG displacement lens with rim light, dispersion and spring motion. Chromium renders the refraction; other browsers keep the frosted material. Drag the pills. Tune every option in the playground, or read the glass docs.

Frosted

Blur, tint and a hairline edge

The default glass: the legible, cross-browser look.

Liquid

Lensing, rim light, thickness

Chromium bends the backdrop; every browser keeps the layered rim.

Thick, draggable
Crystal lens

98 chart types, zero chart dependencies

Charts that fill their cell

SVG charts built on the same tokens, with keyboard navigation and accessible summaries. A dozen of them below, each filling its container exactly. Browse them all in the docs.

Spreadsheet-grade DataGrid

Type = to write a formula

Virtualized rows, range selection, undo and redo, copy and paste, and a formula engine with SUM, IF, ROUND and friends. Edit a price and every total recalculates. Export to XLSX from the toolbar.

AI kit

Chat, reasoning and tool calls

Conversation, streaming Markdown, chain of thought, tool calls, sources, attachments and message actions. Press a suggestion: the reply is simulated and streams token by token.

Accessible + container queries

Responsive to the container, not the screen

Resize the frame: the KPI group reflows from four columns to one and the chart keeps its height, all with @container rules. Focus rings, roles, keyboard paths and reduced-motion handling are part of every component, not an add-on.

Container width
Citas atendidas
214sube, favorable: +4.1%vs. septiembre
Ticket promedio
S/ 47sube, favorable: +6.8%vs. septiembre
Ocupación
78%baja, desfavorable: -2.4%vs. septiembre
Cancelaciones
9baja, favorable: -18%vs. septiembre

Platform parity

Web and Compose, one design language

The same tokens, names and behaviours ship as a React package and a Compose Multiplatform kit (Android, iOS, desktop). 43 components are mirrored one to one.

Web: @jcsoftdev/ui

  • npm
  • React 18+
  • zero runtime deps
Terminal window
pnpm add @jcsoftdev/ui react react-dom

Compose: ui-compose

  • Maven Central
  • Android
  • iOS
  • Desktop
implementation("com.jcsoftdev:ui-compose:0.1.0")

Compose Liquid Glass lives on a feature branch and is not part of the published 0.1.0 artifact yet.

Principles

Small, predictable, yours to change

  • Zero runtime dependenciesNothing to audit but this package.
  • Tree-shakable23 subpaths; import only what you ship.
  • RSC-safeServer components render; islands hydrate only where needed.
  • AccessibleRoles, focus rings, keyboard paths, reduced motion.
  • CustomizableTokens, data attributes and class overrides, no fork needed.

Install

Getting started in three snippets

pnpm add @jcsoftdev/ui react react-dom
app.css
@import "tailwindcss";
@import "@jcsoftdev/ui/styles/tokens.css";
@import "@jcsoftdev/ui/styles/theme.css";
@import "@jcsoftdev/ui/styles/base.css";
@source "../node_modules/@jcsoftdev/ui/dist";
import { Button, Chip } from "@jcsoftdev/ui/atoms";
import { LineChart } from "@jcsoftdev/ui/charts";
import { DataGrid } from "@jcsoftdev/ui/containers";
export function Revenue() {
return (
<section data-style="glass" data-accent="menta">
<Chip tone="accent">Live</Chip>
<LineChart height={240} title="Revenue" categories={days} series={series} />
<Button variant="primary">Export</Button>
</section>
);
}