svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Feature Request: TimePicker

Open vanderburg opened this issue 1 year ago • 1 comments

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.

vanderburg avatar Feb 06 '24 19:02 vanderburg

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/

techniq avatar Feb 06 '24 20:02 techniq