Better HN
topnewbestaskshowjobs
Log inSign up

murilo_rcc

1 karma · joined Dec 1, 2026 (2d ago) · 2 submissions

Submissions

comment 2d ago · link · parent

Hi HN! I built ExpressiveUI, an open-source (MIT) UI library that implements Google's Material 3 Expressive design language for both React (web) and React Native.

Most Material libraries on the web are still on M2/M3 baseline. M3 Expressive adds spring-based motion and 35 "Material Shapes" (cookies, clovers, flowers...). ExpressiveUI ships those shapes and uses them throughout the components, including the new charts: pies and donuts can be cut by any shape, and progress rings run along a shape's outline.

How it's built: - tokens: one tokens.json → CSS variables, Tailwind v4 theme and TS; dynamic themes from a seed color via material-color-utilities - schema: every component's props are defined once in Zod, which generates the TS types, a JSON Schema and an LLM tool definition - core: headless logic and geometry (chart layouts, shape outlines, springs), no DOM - react / native: thin renderers (SVG on web, react-native-svg on native)

The schema part is what I'm most curious about: an LLM can return a JSON tree, RenderUI validates it and renders real components on web or native ("Prompt-to-UI"). There's a playground on the site.

Current state: v0.5.0, 9 chart types and the usual form/navigation/feedback components. Some things are web-only for now (e.g. DataTable), and native charts don't have entry animations yet.

npm: @expressive-ui/react, @expressive-ui/native

I'd love feedback on the API design and the schema/LLM approach.

2.

Implementing Material 3 Expressive for React and React Native(expressive-ui.com ↗)

2 points · by murilo_rcc · 2d ago · discuss