MAESO UI
Reusable components with their behaviour in view.
A developer tries how each component behaves, not only how it looks.
More than the default state
A component’s label, validation message and native input semantics belong together. A useful component example makes those relationships visible alongside its appearance.
MAESO UI is a reusable component library with live documentation and implementation evidence. The plan is an open core with a free MIT-licensed foundation.
Small interactions, observable behaviour
The demos below cover an email field, a switch, tabs and a confirmation dialog. Try an incomplete email, change a setting, navigate with the arrow keys or reset the demo.
These demos run locally on this page. Nothing entered is sent or saved. The animated documentation scene is an illustration, not a test report.
What makes MAESO UI easier to choose
- The email field explains an incomplete address in words.
- The switch states its setting in words, not only by colour.
- The tabs move with a tap or the arrow keys.
- The reset asks first, and Keep settings is the default choice.
Live, with proof you can check
The documentation is live at ui.maeso.studio. Its home page shows the Switch with three things you can check before you install it.
Contrast for each state in the light and dark themes: the default Switch reads 16.95:1 in both. Hover, focus and active show “not measured” instead of a guess.
Size, measured as gzip on the published version: the Switch is 7.0 kB. The home page lists the same figure for each component.
The keys that work, Space, Tab and Shift+Tab, and a one-line install: npx shadcn@latest add @maeso/switch.
The free MIT foundation and the open-core direction are still plans.
- Defaultlight16.95 : 1AA 4.5dark16.95 : 1AA 4.5
- Hovernot measured
- Focusnot measured
- Activenot measured
- KeyboardSpaceTabShift+Tab
- Size
- 7.0 kB gzip
npx shadcn@latest add @maeso/switch