New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-responsive-navbar-ks

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-navbar-ks

A modern, responsive and customizable navigation bar component for React applications with search functionality

1.0.2
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

🎯 React Responsive NavBar KS

A modern, animated responsive navigation bar component built with React, TypeScript, and Tailwind CSS.

✨ Features

  • 📱 Responsive mobile-first design with hamburger menu
  • 🔍 Integrated animated search functionality
  • 🎨 Beautiful glass-morphism UI design
  • 🎯 TypeScript support for type safety
  • 🌊 Smooth transitions and hover effects
  • ⚡ Optimized performance with React.memo
  • 🎪 Interactive state management
  • 📦 Easy to integrate and customize

🚀 Installation

# Using npm
npm install react-navbar-ks

# Using yarn
yarn add react-navbar-ks

💻 Usage

import { NavBar } from 'react-navbar-ks';

function App() {
  const navItems = [
    { name: 'Home', path: '/' },
    { name: 'About', path: '/about' },
    { name: 'Contact', path: '/contact' }
  ];

  const handleSearch = (query: string) => {
    console.log('Searching for:', query);
  };

  return (
    <NavBar 
      items={navItems}
      onSearch={handleSearch}
    />
  );
}

🛠️ Props

PropTypeDefaultDescription
itemsArray<{ name: string, path: string }>[]Navigation items to display
onSearch(query: string) => voidundefinedCallback when search changes
classNamestring''Additional CSS classes

🎨 Features in Detail

Responsive Design

  • Mobile-first approach
  • Hamburger menu for mobile views
  • Smooth transitions between mobile/desktop layouts
  • Optimized touch targets for mobile

Search Functionality

  • Animated search input
  • Expandable search bar
  • Real-time search feedback
  • Debounced search handling

UI/UX

  • Glass-morphism effects
  • Hover and active states
  • Focus states for accessibility
  • Clean, modern design

🔧 Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

📦 Dependencies

  • React 16.8+ (for Hooks)
  • Tailwind CSS 3.0+
  • TypeScript 4.0+

🤝 Contributing

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

📝 License

Distributed under the MIT License. See LICENSE for more information.

🙏 Credits

  • React - UI library
  • Tailwind CSS - For styling
  • TypeScript - Type safety
  • Lucide Icons - For beautiful icons
  • React Router - For navigation handling
  • React Memo - For performance optimization

Special Thanks

Special thanks to all the open-source contributors and the amazing developer community for their continuous support and inspiration.

🐛 Bug Reports

Found a bug? Please create an issue with:

  • Bug description
  • Steps to reproduce
  • Expected vs actual behavior
  • Browser and OS details

📞 Support

Made with ❤️ by Sankarkumar Kathirvel

Keywords

react

FAQs

Package last updated on 15 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts