svelte-ux
svelte-ux copied to clipboard
Feature Request: TimePicker
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.
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:
- https://react-spectrum.adobe.com/react-aria/TimeField.html
- https://nextui.org/docs/components/time-input
- https://mui.com/x/react-date-pickers/time-range-field/