coatx
Framework-neutral shadcn/ui styling ported to StyleX — pre-compiled atomic CSS, zero-compiler recipes, and composable StyleX tokens.
coatx brings shadcn/ui’s Tailwind v4 oklch design language (inspired by Basecoat) to StyleX. Every recipe returns plain HTML { class, style } attributes via stylex.attrs(...), with zero dependency on React, Ilha, or any UI runtime.
Workspace Preferences
Styled with coatx recipes over @ilha/ui-sdk headless primitives.
v0.1
Tier
Why coatx
- Dual-mode distribution — works with zero StyleX bundler plugin (
import "coatx/styles.css"+ recipes) and composes natively in StyleX-compiled apps (stylex.createTheme(colors, ...)+stylex.attrs(buttonStyles.base, custom)). - Zero global CSS reset — scoped semantic
oklchvariables and atomic utility classes only, socoatxcoexists safely alongside existing stylesheets like daisyUI or Tailwind. - Framework-neutral HTML & React output — emits standard
class+ stringstyleby default (Ilha, Astro, Solid, Vue, HTML), or{ className, style: { ... } }for React viaconfigureCoatx({ classProp: "className" })or per-callclassProp. - Compact atomic bundle — all 51 shadcn/ui component modules share deduplicated StyleX rules totaling 42.3 kB uncompressed CSS.
Explore
- Follow Installation to wire up zero-compiler or StyleX mode.
- Customize light, dark, and brand accent tokens in Theming.
- Pair headless accessibility primitives in Ilha UI SDK & Astro.
- Browse all 52 component docs pages in the sidebar, or explore the full 151-tile interactive Sink.