svelte-palette
svelte-palette copied to clipboard
Feature Request: Add a way to limit the number of columns
For some use cases, it would be nice to set a prop limiting the number of columns to be displayed.
This would be applicable when numColumns
is lower or equal to 0 only, because, in this case, adding a slot of color always creates a new column. If maxColumns
is set, slots would wrap on an additional row when the limit is reached.