Skip to content

A curated collection of reusable frontend UI components and JavaScript utilities built with Vanilla JS, focusing on real-world UX patterns and interview-ready implementations.

Notifications You must be signed in to change notification settings

akhilBharti510/frontend-ui-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ Frontend UI Components

A curated collection of clean, reusable, and production-ready frontend UI components and utilities built using Vanilla JavaScript, focused on real-world UX patterns, state management, and API-driven interfaces.

This repository serves as a personal frontend component library, showcasing practical implementations of commonly asked interview problems and real-world UI utilities.


๐ŸŒ Live Demo

Explore all components here:

Frontend Utilities Playground
https://akhilbharti510.github.io/frontend-ui-components/

โ–ถ๏ธ Live Preview: Click Here


โœจ Whatโ€™s Inside

This repository contains multiple independent, self-contained frontend utilities, each built with clean HTML, CSS, and JavaScript.

๐Ÿ”น JavaScript Utilities

  • GitHub Profile Fetcher

    • Name-based search with suggestions
    • Debounced input & caching
    • Keyboard navigation
    • GitHub REST API integration
  • Scientific Calculator

    • Keyboard input support
    • Operator normalization
    • DEG / RAD modes
    • Custom math parsing logic
  • Timer Utilities

    • Digital clock
    • Stopwatch with lap tracking
    • Countdown timer
    • Accurate interval handling

๐Ÿ”น UI Components

  • Tabs / Accordion

    • Clean state management
    • Accessible UI patterns
  • Modal Popup

    • Keyboard-accessible modal
    • Focus handling & animations
  • Form Validation

    • Client-side validation
    • Clear error messaging
  • Counter App

    • State-based updates
    • Increment / decrement / reset
  • Dark Mode Toggle

    • CSS variables
    • Theme persistence

๐Ÿ› ๏ธ Tech Stack

  • HTML5 โ€“ Semantic markup
  • CSS3 โ€“ Modern layouts & theming
  • Vanilla JavaScript (ES6+)
    • DOM manipulation
    • Event handling
    • State management
    • Fetch API & async/await

๐ŸŽฏ Purpose of This Repository

  • Practice and master core frontend concepts
  • Build interview-ready UI utilities
  • Maintain a scalable component collection
  • Demonstrate clean code, UX thinking, and modular design

๐Ÿงพ Resume Highlights

โ€ข Built a Frontend UI Components library using Vanilla JavaScript, featuring reusable utilities like GitHub profile search, calculators, timers, and accessible UI components.

๐Ÿš€ Getting Started

  1. Clone the repository
git clone https://github.com/your-username/frontend-ui-components.git
2. Open index.html in your browser
(No build tools or dependencies required)

๐Ÿ”ฎ Future Enhancements
Add more advanced UI patterns

Component documentation pages

React-based versions of utilities

Improved accessibility and testing

๐Ÿ“„ License
This project is open-source and free to use for learning and personal projects.

๐Ÿ™Œ Author
Built and maintained by Akhil Bharti

About

A curated collection of reusable frontend UI components and JavaScript utilities built with Vanilla JS, focusing on real-world UX patterns and interview-ready implementations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published