{"repo":"garronej/tss-react","free":true,"listed":false,"github":"https://github.com/garronej/tss-react","clone":"git clone https://github.com/garronej/tss-react.git","description":"✨ Dynamic CSS-in-TS solution, based on Emotion","language":"TypeScript","stars":722,"topics":["react","typescript","ssr","css","jss","material-ui","nextjs","css-in-js","react-hooks"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"✨ Dynamic CSS-in-TS solution, based on Emotion ✨ Home - Documentation - Playground You can think of tss-react as @emotion/jss . It's, in essence, a type-safe equivalent of the JSS API but powered by Emotion, just like @emotion/styled is the styled-components API but powered by Emotion. - 🚀 Seamless integration with MUI. - 🌐 Works in Next.js App and Page Router. - 🙅‍♂️ No custom styling syntax to learn, no shorthand, just plain CSS. - 💫 Dynamic Style Generation: TSS enables to generate styles based on the props and internal states of components. This unfortunately prevents us from supporting Server Component (RSC) in Next.js. We remain hopeful for future support of RSC, contingent on the provision of a suitable solution by Vercel and React. If you need RSC support today, you can consider zero runtime solutions like Panda-CSS or Vanilla Extract, but the expression of complex styles is significantly harder in this paradigm. - 📚 Your JSX remains readable. Unlike other styling solution that tend to clutter the JSX, TSS enables isolating the styles from the component structure. That been said, sometime it's just easier to inline the styles directly within your components, TSS enables this as well. - 🛡️ Eliminate CSS priority conflicts! With TSS you can determine the precedence of multiple classes applied to a component and arbitrarily increase specificity of some rules. - 🧩 Offers a type-safe equivalent of the JSS $ syntax. - ⚙️ Freely customize the underlying @emotion cache","default_branch":null,"files":null,"tree":[],"storefront":"/r/garronej","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/garronej/tss-react/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}