Developer builds admin panel for poetry site and ew-solid-ui, a SolidJS component library
The author built an admin panel for his poetry site, which holds 585 articles, 657 poems and over 54,000 characters. Fixing a typo required a database client, and adding a poem meant writing SQL by hand. He chose SolidJS[1] for the frontend, but most Solid libraries are headless[2], providing behavior without styling, themes or translations, so he wrote his own UI library.
The library started with four components and now has 84 core components in its main package, five themes, built-in Chinese and English, and no CSS-in-JS[3] runtime. Colors, spacing and radii are set through CSS variables. It is split into ew-solid-ui, ew-solid-pro, ew-solid-bits, ew-solid-charts, ew-solid-ui-admin and the create-ew-solid-ui CLI. It also includes AI chat components and a createChat state manager that works without any styles.
The current version is 0.0.5, with 566 tests, and projects can be generated with one pnpm create command. The author plans to add tree tables, editable tables and virtual lists, run a full accessibility review, and possibly open-source the poetry site.
Repository ew-solid-ui github.com
A SolidJS component library with 84 styled UI components, five themes, Chinese and English support, and CSS-variable theming.
Sources
-
CNJuejin ZH
我给我的诗写了个后台,顺手写了 一个组件库ew-solid-ui



