Menu

Building a Browser Extensions Manager UI with Next.js and ShadCN

By Thomas Sankara · 3/31/2025

👀 228 views👍 4 likes💬 0 comments0 favorites

Part 1

Key Points

  • The video demonstrates building a Browser Extensions Manager UI using Next.js and ShadCN components.
  • Viewers will learn about theme toggling, managing active/inactive extensions, and deploying the application.
  • The tutorial includes step-by-step coding instructions and references to a GitHub repository for code access.

Introduction

In this video, the host introduces the Browser Extensions Manager UI challenge from Frontend Mentor, explaining how to download and set up the project files. After downloading the zip file, the host demonstrates extracting it and provides an overview of the application's layout, including theme toggling between light and dark modes. Theme toggle functionality is highlighted, showcasing how users can switch themes easily.

Project Setup

The host sets up the project using Next.js and mentions using a template that includes ShadCN components and Prettier for CSS. They guide viewers through creating a new Next.js app with specific configurations and provide a link to the GitHub repository for the project. Creating the app is explained in detail, ensuring viewers can follow along.

Building the UI

The tutorial progresses to building the UI, where the host removes default content and starts adding custom components. They implement the theme provider for managing themes and create a modal for the UI. The host emphasizes the importance of structuring the application correctly and introduces various components for managing extensions.

Functionality Implementation

As the video continues, the host demonstrates how to implement the functionality for toggling extensions and removing them. They create state variables to manage the active status of extensions and provide detailed coding instructions for each feature. Toggle functionality is explained, ensuring viewers understand how to manipulate the state effectively.

Conclusion

The video wraps up with the host testing the application and troubleshooting any issues that arise. They encourage viewers to explore the code on GitHub and provide links to additional resources, including courses and an eBook on React. The final application is deployed to Netlify, showcasing the completed project. Deploying to Netlify is also discussed, providing a comprehensive guide for viewers.

Part 2

Overview

In this video, the creator demonstrates how to build a Browser Extensions Manager UI as part of a Frontend Mentor Challenge. The tutorial covers various aspects of the project, including filtering extensions, updating UI components, and enhancing user experience.

Key Features Implemented

  • Filtering Extensions: The video explains how to create a filter function to display active or inactive extensions based on user input. This is achieved through the filter method in JavaScript, which checks the status of each extension and updates the UI accordingly. Filter Function

  • User-Friendly Messages: The creator emphasizes the importance of user feedback by implementing a message that displays when no extensions are found. This enhances the overall user experience. No Extensions Found

  • Animation Fixes: The tutorial also addresses animation issues when removing extensions. The creator demonstrates how to use the AnimatePresence component from Framer Motion to improve the visual transitions. Animation Fix

UI Enhancements

  • Styling Updates: The video includes a section on fine-tuning the UI, such as updating button styles and ensuring that the design is consistent across light and dark modes. UI Updates

  • Final Touches: The creator wraps up by making final adjustments to the layout and ensuring that all functionalities work seamlessly. Final Adjustments

You Might Also Like