Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JavaScript
  3. rome

rome

MITJavaScript

A customizable, dependency-free date and time picker with opt-in UI and real-time input synchronization.

Visit WebsiteGitHubGitHub
2.9k stars218 forks0 contributors

What is rome?

Rome is a JavaScript library for adding customizable date and time pickers to web applications. It provides a flexible, dependency-free solution for handling date inputs with real-time synchronization and extensive configuration options. The library solves the problem of integrating a lightweight, styleable calendar without relying on heavy frameworks like jQuery.

Target Audience

Frontend developers and web designers who need a customizable, lightweight date/time picker for forms or interactive applications. It's ideal for projects where design control and performance are priorities.

Value Proposition

Developers choose Rome for its zero-dependency architecture, extensive customization options, and seamless integration with existing inputs. Its opt-in UI and real-time synchronization offer a better user experience compared to many heavier alternatives.

Overview

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!

Use Cases

Best For

  • Adding date pickers to forms without jQuery
  • Building custom calendar interfaces with unique styling
  • Implementing date and time selection with validation rules
  • Creating inline calendars for dashboards or widgets
  • Supporting legacy browsers like IE7+ with modern picker features
  • Projects needing lightweight, dependency-free UI components

Not Ideal For

  • Projects requiring multi-date or date-range selection UIs, as Rome focuses on single date/time picking
  • Applications where minimizing JavaScript bundle size is critical, due to the mandatory inclusion of moment.js
  • Teams using modern frontend frameworks like React or Vue who prefer component libraries with built-in integrations
  • New projects targeting only modern browsers, as Rome's legacy support for IE7+ might add unnecessary complexity

Pros & Cons

Pros

Extensive Customization Options

The library provides fully customizable CSS classes and numerous layout options through the 'styles' configuration, allowing seamless integration into any design system.

Seamless Input Integration

Rome synchronizes in real-time with input fields without stealing focus, ensuring a smooth user experience as highlighted in the README's feature list.

Broad Browser Compatibility

Supports IE7+ and all modern browsers, making it a reliable choice for applications with diverse user bases, as stated in the browser support section.

Flexible Date Handling

Offers configurable date and time picking with built-in validators and constraints, such as min/max limits and custom validation functions, providing robust logic out of the box.

Cons

Dependence on Legacy Library

Rome depends on moment.js, a large, legacy date library that increases bundle size and may not align with modern project dependencies, as admitted in the README's setup notes.

Complex Configuration Overhead

With over 20 configuration options and a detailed API, setting up Rome can be overwhelming for simple use cases, requiring significant time to understand all features like validators and event hooks.

Limited Framework Support

Not designed for integration with popular frameworks like React or Vue, necessitating manual wrapper components and additional setup, which can lead to maintenance challenges.

Frequently Asked Questions

Quick Stats

Stars2,900
Forks218
Contributors0
Open Issues65
Last commit2 years ago
CreatedSince 2014

Tags

#time-picker#vanilla-js#date-picker#vanilla#frontend#ui-library#calendar#form-input#javascript#front-end#moment-js#component#customizable-ui

Built With

J
JavaScript
M
Moment.js

Links & Resources

Website

Included in

JavaScript34.9k
Auto-fetched 6 hours ago

Related Projects

fullcalendarfullcalendar

Full-sized drag & drop event calendar in JavaScript

Stars20,575
Forks3,719
Last commit3 days ago
tui.calendartui.calendar

🍞📅A JavaScript calendar that has everything you need.

Stars12,683
Forks1,353
Last commit2 years ago
bootstrap-datepickerbootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)

Stars12,650
Forks5,884
Last commit10 months ago
Date Range PickerDate Range Picker

JavaScript Date Range, Date and Time Picker Component

Stars10,984
Forks3,257
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub