📝 Unpolished Writing - Work in Progress

The checklist of the perfect component library

9th September 2022
componentslibrariesdevelopment

Assumptions

This checklist is prepared considering that this UI component library is a general purpose component library meant for generic use-cases.

UI component library has

High-level responsibilities of each component

  • Functional
  • Visual

Checklist

  • Unstyled
  • Universal
  • Uses the platform
  • Fonts
  • Icons
  • Performant
    • Zero JS overhead
    • Zero bundle-size
    • Doesn’t change the lighthouse score if added or removed
  • Zero dependencies
  • Accessible
  • Extensible
  • Great DX
    • Quick install in any project (no magic, no webpack config, no babel config)
    • Typeahead editor suggestions
    • TypeScript complete
    • Snippets
  • 60 FPS Animation
  • Ships an optional theme
    • Accessible
  • Community
    • More themes
    • Starter-kits
  • Platform specific checklist
    • Web
      • ARIA support