Opening hours

widgetsFreeMIT

Opening hours or availability per weekday, with more than one range a day.

Adapted from Watermelon UI (MIT) and rewritten with keyboard support, labels and reduced motion.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/opening-hours.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • opening-hours.tsx
  • switch.tsx