Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom sheet component #43

Open
spwoodcock opened this issue Jul 18, 2024 · 3 comments
Open

Bottom sheet component #43

spwoodcock opened this issue Jul 18, 2024 · 3 comments
Labels
component Creating a new component

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Jul 18, 2024

A mobile optimised component, with the following:

  • Icons to select on a bottom bar
  • Dynamic content inside the sheet above
  • Resizable sheet via drag bar up and down
  • Accepts another component for the content?
  • Or possibly this could use sl-tab-group and sl-tab-panel?

image

This replicates material bottom sheets used in Android.

Possible Usage Example:

<hot-bottom-sheet
  @close={doSomething()}
>
  <another-component></another-component>
</hot-bottom-sheet>
@spwoodcock spwoodcock added the component Creating a new component label Jul 18, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Shared UI Jul 18, 2024
@emi420
Copy link
Collaborator

emi420 commented Sep 10, 2024

This is mobile-only?

@emi420
Copy link
Collaborator

emi420 commented Sep 10, 2024

Useful info about bottom sheets design: https://www.nngroup.com/articles/bottom-sheet/

@spwoodcock
Copy link
Member Author

This is mobile-only?

At least portrait layout only I would say, yeah.

On desktop just displayed as larger bars in portrait mode.

I imagine this will be useful for the mobile versions of FMTM and DroneTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component Creating a new component
Projects
Status: Backlog
Development

No branches or pull requests

2 participants