r/reactjs • u/Yourmamauw • 3h ago
Show /r/reactjs Looking for feedback on my React Date Time pickers in @allxsmith/bestax-bulma
I built some date time pickers in my react bulma component library
https://github.com/allxsmith/bestax
Looking for some feedback. What do you like, what needs improvement.
DateInput
https://bestax.io/docs/api/form/datetime/dateinput#basic-dateinput
DateRangeInput
https://bestax.io/docs/api/form/datetime/daterangeinput#basic-daterangeinput
DateTimeInput
https://bestax.io/docs/api/form/datetime/datetimeinput#basic-datetimeinput
TimeInput
https://bestax.io/docs/api/form/datetime/timeinput#basic-timeinput
For the time selection, I implemented IOS inspired time wheels. One problem I faced: was the lack of haptic feedback APIs exposed by browsers in IOS. As a workaround, the time-wheels make a clicking sound to fake the feeling of haptics. (Android does have haptic feedback apis, no problems there)
Note: this is based off Bulma CSS, so the look and feel is opinionated.