zwgnr / baselayer Goto Github PK
View Code? Open in Web Editor NEWRe-usable multi part components built on React Aria and TailwindCSS. All powered by a VScode Extension.
Home Page: https://baselayer.dev/
License: MIT License
Re-usable multi part components built on React Aria and TailwindCSS. All powered by a VScode Extension.
Home Page: https://baselayer.dev/
License: MIT License
First off great job with this library, it looks super awesome. Love the idea of using a VSCode extension to bootstrap components! ๐คฉ
I noticed a few of the components are missing keyboard focus styles. That's an important accessibility feature for folks navigating with the keyboard to see where they are. Most of the React Aria Components include a data-focus-visible
attribute that you could use with the tailwind ring
classes to implement a focus ring.
Another related case is with the menu/dropdown/combobox/etc. components I saw you're currently using tailwind's hover:
modifier. You might want to consider using the data-focused
attribute for that instead, which gets set for both hover and focus. And for combobox it also works even though actual DOM focus stays in the input field. Right now when you navigate via the arrow keys you can't see which item is focused.
In general our data attributes are designed to be more consistent cross browser and device than the css counterparts like hover:
and active:
, so you might want to consider using them everywhere as well. You can read our blog post series on this if you wanna learn more about why, and find all the available states in the docs.
Again, awesome work on this! Really excited to see where it goes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.