react-three-a11y
twind
react-three-a11y | twind | |
---|---|---|
7 | 30 | |
516 | 3,685 | |
1.6% | 0.3% | |
5.0 | 8.3 | |
3 months ago | 7 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
react-three-a11y
-
Show HN: 3D Framework for the Web. Built on Svelte and Three.js
Thanks! Threlte is "just" offering a declarative way to express Three.js. If you know how the `` component and its props and event handlers work, you can use the Three.js documentation for everything else.
Apart from that with Threlte I personally practice documentation-driven-development, so ecosystem packages are exhaustively documented. If you're missing something, let us know via an issue[1] or on Discord[2].
Accessibility is a topic we didn't care enough yet to be perfectly honest. Accessibility doesn't stop at screen readers though, it's about contrast, size, colors, motion, reachability, and so much more that we cannot provide and are a consumer topic. Naturally WebGL apps suffer from being practically invisible to screenreaders. There are workarounds[3] but essentially this has to be solved by consumers of Threlte (devs) and hopefully by browser vendors at some point in the future.
[1] https://github.com/threlte/threlte/issues
[2] http://chat.threlte.xyz
[3] https://github.com/pmndrs/react-three-a11y
-
how do you design scrolling "through" a website?
There is an accessibility library from drei: https://github.com/pmndrs/react-three-a11y
-
Making components Links (r3f/drei)
Caveat: Not the most accessible thing ever. The pmndrs crew made a tool that does this way more accessibly, this would be my production-grade recommendation: https://github.com/pmndrs/react-three-a11y
-
Is it even remotely practical to make Three.js experiences accessible? (controls/nav/text/objects/etc)
like /u/thesonglessbird said, it exists: https://github.com/pmndrs/react-three-a11y it covers screen readers, tabbing , focus indication, roles, and so on.
-
Chart.js 4.0 — new release of the popular open source charting library
That’s a bit of a cop out - React Three Fiber renders to a canvas too (obviously) and there’s a bunch of accessibility stuff in its semi-official ecosystem https://github.com/pmndrs/react-three-a11y
-
React Three Fiber and NextJS Starter Template
♿ R3F A11y
-
How to reproduce Death Stranding UI with react and react-three-fiber
To simulate the selected state you can try to use react-three-a11y. By wrapping our model with the component we will have access to hover, focus, and pressed state through useA11y() hook. We can try to display a SelectedMaterial based on the hover state for example.
twind
- Twind – Tailwind without build step
-
Why We're Breaking Up with CSS-in-JS
I think TW syntax is great as a CSS shorthand. I think it can be a great tool for making highly descriptive styles in a far more succinct fashion. I think if you you use Twind compiler and you store TW syntax outside of your templates/JSX and you just compile it down to descriptive class names, that's a great use of Tailwind. Then you get the advantage of meaningful names applied to elements in the template, and if you need to refactor/fix a style, then you can find it much easier. It also makes it a lot more dynamic, which standard Tailwind which can be a PITA to make dynamic (e.g. for dynamic behavior in Twind, you can have functions that generate TW style strings and use interpolated strings without having to worry about if the build-time TW compiler understands all the possibilities).
- Por que usar Deno Fresh como framework web?
-
What programming languages do you use the most?
But at least you like something. And I get why people like Tailwind, but I end up finding it constricting for behavior that results in dynamic styles. But I've tried Twind which is a runtime TW compiler and it fixes most of my complaints and it has the same SSR-ability like Stitches & Emotion.
-
Why CSS-in-JS?
The CSS-in-JS library solves problems of global nature of CSS and of specificity by providing scoping in a unique class-name. It has some cost attached to it i.e run-time which is being solved by order libs vanilla-extract-css. I'm a big fan of tailwind and I honestly believe it is enough for your project. If you also need dynamic styles then CSS-in-JS is better over tailwind, though there are solutions like twind which provide a flavor of tailwind with the CSS-in-JS approach they do have all cons of any CSS-in- JS libraries. I'm very excited about styles by Facebook and waiting for the day it will be open-sourced or CSS itself evolves to me provide scoping and be more modular, until that day comes I'm betting on CSS-in-JS with stitches and vanilla-extract-css.
-
Styling in Fresh
what framwork are you coming from? i honestly wouldn’t try fresh unless you are using tailwind - bootstrap components are jsx based, and fresh is based off islands architecture which would make integrating the two trickier since youd have to route through deno + the preact compat lib. if you really want to do it, read into this. that being said, tailwind is a very powerful tool. i use it daily in nearly every element on front end, and as someone who likes avoiding design as much as possible ive found tailwind (and twind) are extremely pleasant to work with since it’s mostly class/keyword based styling as opposed to css / sass / scss styling
-
Looking to compile tailwind from a string if it detects any tailwindcss classes in it
I want to do something similar with Remix to make a separate stylesheet per route with content coming from a CMS like WordPress. I’ve had my eye on Twind once they add compatibility with v3 and all the JIT stuff. https://twind.dev/
-
A quick review of the Fresh web framework
When initializing a new project, Fresh will also ask if you want to use Twind, which is a Tailwind-to-JS library. If you choose this option, then you will have the power of Tailwind without creating a config file or using PostCSS, which I thought is pretty cool.
- Twind: The smallest, fastest, most feature complete tailwind-in-JS solution
-
tailwind: no simple way to get started
Try https://twind.dev/
What are some alternatives?
gltf-pipeline - Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
Tailwind CSS - A utility-first CSS framework for rapid UI development.
gltfjsx - 🎮 Turns GLTFs into JSX components
twin.macro - 🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
react-three-fiber - 🇨🇭 A React renderer for Three.js [Moved to: https://github.com/pmndrs/react-three-fiber]
stitches - [Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.
awesome-react-three-fiber - 🍕 A loose collection of cool r3f links, gifs, people, stuff
windicss - Next generation utility-first CSS framework.
r3f-experiments - Experiments with React Three Fiber
Bit - A build system for development of composable software.
leva - 🌋 React-first components GUI
tailwindcss-intellisense - Intelligent Tailwind CSS tooling for Visual Studio Code