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

Make SideBar icon optional #2882

Open
yusijs opened this issue May 24, 2023 · 2 comments
Open

Make SideBar icon optional #2882

yusijs opened this issue May 24, 2023 · 2 comments

Comments

@yusijs
Copy link
Contributor

yusijs commented May 24, 2023

We want to use the SideBar to navigate a list of deliveries, where it would have a shortened text when collapsed.
Collapsed:
image
Expanded:
image

Describe the solution you'd like

I want the SideBar to require either an icon-prop or a shortLabel prop

Describe alternatives you've considered

I tried hacking a function to generate the svg path on the fly, but it started to feel overkill when I had to use opentypejs .. :D

Additional context

Add any other context or screenshots about the feature request here.

@oddvernes
Copy link
Collaborator

This should be doable! 👍

@vnys
Copy link
Member

vnys commented Jun 29, 2023

We’ll discuss it in the team, but we’re sceptical to how much value it would bring to have such little space for text labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants