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

Support for min/max constraints #169

Open
iacore opened this issue Oct 20, 2021 · 2 comments
Open

Support for min/max constraints #169

iacore opened this issue Oct 20, 2021 · 2 comments

Comments

@iacore
Copy link

iacore commented Oct 20, 2021

To support responsive ui design, this ui library must support minimum and maximum constraint on box size.

For example, a text column shouldn't be wider than 700px, otherwise it's unreadable.

This feature is unavailable in figma, but necessary for ui design.

@treeform
Copy link
Owner

treeform commented Nov 1, 2021

I really want this feature Figma. The way I will probably implement this is with frame switching. Once frame reaches max size, it switches to a different frame. I don't think max size is flexible enough. A lot of time the UI totally changes at smaller sizes.

@iacore
Copy link
Author

iacore commented Nov 8, 2021

Do you plan to support other UI design software and make your own that support minmax() and device query like that from CSS?

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

No branches or pull requests

2 participants