Coming here from svelteland... is there a way to put CSS module inside JS?

This page summarizes the projects mentioned and recommended in the original post on /r/solidjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • solid-styled-components

    A 1kb Styled Components library for Solid

  • I use https://github.com/solidjs/solid-styled-components, which allows you to define CSS in the JS file.

  • vue-macros

    Explore and extend more macros and syntax sugar to Vue.

  • I recently encountered Vue Macros and it inspired me to create a compile-time macro library for CSS modules, unfortunately I haven't even started and am not planning to do so any time soon. I like having the entire component in a single file but honestly just having COMPONENT_NAME.module.css for each component is not bad at all. I'd just avoid doing the COMPONENT_NAME/style.module.css, this gets very tedious

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • vanilla-extract

    Zero-runtime Stylesheets-in-TypeScript

  • Apart from what has been suggested, there is also https://vanilla-extract.style/.

  • solid-styled

    Reactive stylesheets for SolidJS

  • The new Solid docs has this one: https://github.com/lxsmnsyc/solid-styled

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • .NET Core front end development

    1 project | /r/dotnet | 9 Jul 2023
  • Vue 3 vs Vue 2 so far? What's your opinion? Things I didn't like about Vue 3 compared to Vue 2

    7 projects | /r/vuejs | 2 Jun 2023
  • Quickly generate redistributable Vue components with Unbuild.

    1 project | /r/vuejs | 21 Jan 2023
  • Building universal JS/TS plugins with unplugin

    1 project | dev.to | 12 Dec 2022
  • Module Federation for distributed front ends — the best of both worlds?

    2 projects | /r/reactjs | 2 Dec 2022