Package Exports
- device-agnostic-ui
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (device-agnostic-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Device Agnostic UI
Device agnostic styles, components and hooks for Next.js β deviceagnosticui.com. One design for any viewport (size, orientation, resolution), input method (touch, mouse) or network speed. Simple to build, test and use.
- π¦ Tiny bundle size. < 8 KB with tree shaking, Size Limit tested.
- π± Mobile first. Intuitive layouts suitable for any screen size, without media queries.
- β¨οΈ Keyboard ok. Interactive components have clearly discernable
:focusstyles. - π¨ Native UI. Lightweight, pretty and accessible form field validation messages.
- π Dark mode. The color scheme adapts to the operating systemβs light or dark mode.
- π¨ CSS variables. Easily tweak the theme globally or in your components.
- π Few global styles. No intrusive normalization or resets; just the
:rootessentials. - π Style raw HTML. Special
<Html>component to style rendered markdown. - π§ Semantic markup. Lean use of semantically appropriate HTML elements.
- βοΈ Modern React. Elegant use of React hooks, refs and fragments makes for a great DX.
Setup
To install from npm run:
npm install device-agnostic-uiThen setup the essential global styles.
API
Support
Browserslist: Node >= 8.10, > 0.5%, not OperaMini all, not IE > 0, not dead.