https://github.com/robinnaumann/elbe_react
https://github.com/robinnaumann/elbe_react
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robinnaumann/elbe_react
- Owner: RobinNaumann
- Created: 2024-09-06T18:25:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T10:14:13.000Z (3 months ago)
- Last Synced: 2025-04-15T07:09:22.244Z (3 months ago)
- Language: TypeScript
- Size: 455 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elbe
a cross platform UI framework for the web and Flutter [(see this package)](https://pub.dev/packages/elbe)
so far, it has been optimized for React. It provides a variety of Widgets and theming options. Check out [the demo](https://robbb.in/elbe) or the example within this package (`./example`)
## usage
1. install the package in your React/Preact app:
```bash
npm i elbe-ui
```
2. add the styles to your main `.scss`/`.sass` file:```scss
@use "elbe-ui/elbe.scss" with (
$c-accent: #448aff,
//$g-radius: 0,
//$t-font-body: "Comic Sans MS",
//...
);
```3. add class `primary` to your page `body` element
(`...`)
4. start using the components :)# contribute
as of now, this is mainly a personal project for different stuff I built. So things might be a little rough around the edges. If you find any issues or want to help make elbe better, I'd love to hear from you :)
## publish
1. increment `version` number in `package.json`
2. run `bun run build`
3. run `npm publish`- [x] contrast (test with WAVE, Axe)
- [x] dark mode
- [x] no color based differentiation
- [x] adjustable text size
- [x] adjustable UI size
- [x] responsive design
- [ ] label fields with `label` tag
- [ ] add `aria-*` attributes
- [ ] add `role` attributes
- [ ] add `tabindex` attributes
- [ ] force alt text for images