techniq / svelte-ux

Collection of Svelte components, actions, stores, and utilities to build highly interactive applications.
https://svelte-ux.techniq.dev/
MIT License
815 stars 46 forks source link

Feature Request: TimePicker #234

Open vanderburg opened 9 months ago

vanderburg commented 9 months ago

https://ant.design/components/time-picker

The way Ant Design does it is preferable to me vs the arms-on-a-dial version that other libraries use. It's also similiarish to the <input type="time" /> that Edge/Chrome use, which looks intuitive, albeit but poorly styled.

<Input type="time" /> would probably be more ideal, since this already "works" with Svelte UX but the dropdown picker is where the benefit would be.

techniq commented 9 months ago

Supporting segmented number inputs with keyboard up/down would be nice as well as the menu. Here are a couple quick additional examples I found: