gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
922 stars 39 forks source link

Animated Drawer #25

Open altaic opened 8 years ago

altaic commented 8 years ago

I'm not a fan of "burger" buttons that produce a drawer, however drawers/sidebars are pretty excellent for complicated web apps, and I think it'd be a nice addition to your already relatively comprehensive package.

eimfach commented 7 years ago

I would give it a try. @gdotdesign What do you think about including elm-style-animation package to handle animations ?

gdotdesign commented 7 years ago

Great :)

I don't think it's necessary to use elm made animations, only if it can't be done with CSS animations, which Elm-UI uses in places (Ui.Pager or Ui.Notifications) already.

I'm curious about the API or features :smile_cat: let me know if you have any ideas :bulb:

eimfach commented 7 years ago

I just thought about a simple solution in the first place. The DrawerMenu slides in from the left and goes over the content. The module could export functions to populate the drawer with specific elements (templates/elements to choose from). I am working on it already (most of it is done), but had a hard time to get into the Main.elm to wire it up, so it will need some time.

gdotdesign commented 7 years ago

Sounds great :+1: if you need any help just ping me :smiley:

eimfach commented 7 years ago

@gdotdesign Maybe we could open a Gitter chat for this project so we can discuss further stuff ? I also need help with some things in general.

gdotdesign commented 7 years ago

Good idea, here it is: https://gitter.im/elm_ui