tss-react
Material UI
Our great sponsors
tss-react | Material UI | |
---|---|---|
9 | 290 | |
558 | 91,600 | |
- | 0.7% | |
8.1 | 10.0 | |
3 days ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tss-react
-
The french government's design system
What I meant is that the lib provides the tooling to do CSS-in-JS if you so choose. But it's not at all mandatory. There is a fully type safe class system you can rely on. Internally no CSS-in-JS is used. I personally do love CSS-in-JS (I'm the author of TSS) but I understand the case against it.
-
A Type-safe i18n library
I'm not big on splitting things in neat little modules. Before we had logic.js structure.htm, styles.css then React suggested that logic and structure should be in the same file, it was the right move. Styles, in my oppignion, should be done in JS as well as well. I think that queries shouldn't be mangled with the UI stuffs.
-
How to Troubleshoot Types?
Real-life examples: 1, 2, 3
-
Gatsby JS — How to solve FOUC when using tss-react and Material UI v5
Material UI v5 brought some amazing updates, but switching from JSS to Emotion had an arguably nasty side-effect: it was no longer as straightforward to group your component styles in classes. Fortunately, a fantastic library emerged that allowed developers to not only reduce the extreme pain from migrating all their classes from v4's makeStyles to emotion, but to also to continue to writing classes in practically the same syntax, with wonderful TS type-safety. This library was tss-react, and it was one of my favorite open source discoveries of 2021.
-
What is everyone's go-to style framework/library right now?
You can still use makeStyles with tss-react, as documented here: https://mui.com/guides/migration-v4/#2-use-tss-react. I've used it and it seemed to work quite well.
- ✨ makeStyles is dead, long live makeStyles! ✨
- tss-react will be promoted as the new makeStyles API in material-ui v5
-
tss-react: Like JSS but with better typing. (integrates with MaterialUI)
tss-react
Material UI
- Zero-runtime CSS-in-JS implementation
-
⚡Top GitHub Repositories for UI Components
🔍 Site ⭐ GitHub
-
StyleX – Meta's Styling Library
You'll be glad to hear that MUI is zeroing in (pun intended) on a zero runtime solution right now as an alternative to Emotion [0], although that GitHub issue doesn't capture just how far it has come. Expect more soon!
[0] https://github.com/mui/material-ui/issues/38137
-
9 React component libraries for efficient development in 2023
GitHub stars: 89.3k GitHub link: https://github.com/mui/material-ui Documentation: https://mui.com/material-ui/getting-started/
-
13 Must Know Libraries for a React Developer
With GitHub stars of 88K(August 2023) and weekly NPM downloads of 2.9 million(August 2023), MUI is one of the most popular React UI libraries in the world.
-
10 Best Free React UI Libraries in 2023
MUI is a collection of UI tools and component libraries that helps you bring great designs to life in no time. The most popular of these is MUI Core.
- The Ultimate Comparison: Ant Design vs Material# Ant Design vs Material UI: Which React UI Library to Choose
- MUI finally adds "use client" to their components, but...
- React and Vite - Why is still loading other component not imported
-
Please Grill Me On My React "Take Home Assessment"
In the MUI case they have a component. https://github.com/mui/material-ui/blob/master/packages/mui-lab/src/TreeView/TreeView.js#L818
What are some alternatives?
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.
mantine - A fully featured React components library
type-fest - A collection of essential TypeScript types
antd - An enterprise-class UI design language and React UI library
ts-ast-viewer - TypeScript AST viewer.
primereact - The Most Complete React UI Component Library
gatsby-plugin-material-ui - Gatsby plugin for Material-UI with built-in server-side rendering support
Tailwind CSS - A utility-first CSS framework for rapid UI development.
styled - Minimal CSS-in-JS styled components solution for React.
nextui - 🚀 Beautiful, fast and modern React UI library.
Talkr - Talkr is the lightest i18n provider for React applications. It supports Typescript, provides autocompletion, has 0 dependencies, and is very easy to use.
daisyui - 🌼 🌼 🌼 🌼 🌼 The most popular, free and open-source Tailwind CSS component library