Components for gloved fingers, build with shadcn UI
- Improve homepage
- Fix mousedown events not moving the hand cursor
- Update logo
Many of the components available for shadcn/ui assume precise mouse and tap interactions. This is not always ideal when users might have shaky hands or wear gloves.
This project attempts to bring the beauty and utility of these components into a more accessible and usable space.
Some of our UX strategies include:
- Using larger (invisible) touch areas
- Showing what element is under your cursor on long press
- Providing full alternatives to mouse centric components
This project extends the design system of shadcn/ui.
All glove-ui
components are copy/paste-able into any project where shadcn/ui
has been setup.
"Why copy/paste components?"
The idea behind this is to give you ownership and control over the code, allowing you to decide how the components are built and styled.
Start with some sensible defaults, then customize the components to your needs.
One of the drawback of packaging the components in an npm package is that the style is coupled with the implementation. The design of your components should be separate from their implementation.
— shadcn
You can find out more about the API and implementation in the Documentation.
- Create a component in
registry/default/glove-ui
- Update the registry with your new component
- Update
nav.ts
sidebarConfig
- Create a new MDX file in
content/components
Contributions are welcome.
Please see CONTRIBUTING.md
for more details
This project is insipired by shadcn-tag-input.