A lightweight example on creating a responsive type-safe layout with Elm-UI as described here:
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/Element#responsiveness
This is a simple Parcel Project using TypeScript and Elm with the amazing Elm UI library.
Clone the project and navigate to the project folder then cd into the elm-ui-solution
folder.
cd elm-ui-solution
Then build and run in development mode
yarn
yarn start