vj-navbar
v2.4.0
Published
A beautiful collection of customizable React UI com### Input Component - π¨ **Multiple Variants**: Default, filled, outlined, glassmorphism - π’ **Icon Support**: Left and right icon placement - π **Size Options**: Small, medium, and large variants -
Readme
React UI Components Package
A beautiful collection of customizable React UI com### Input Component
- π¨ Multiple Variants: Default, filled, outlined, glassmorphism
- π’ Icon Support: Left and right icon placement
- π Size Options: Small, medium, and large variants
- π Password Toggle: Built-in show/hide functionality
- β Validation: Error, success, and helper text states
Search Component
- π Smart Autocomplete: Intelligent search suggestions
- π Recent Searches: Remembers user search history
- π Trending Items: Popular search recommendations
- β¨οΈ Keyboard Navigation: Full arrow key and enter support
- β‘ Debounced Input: Optimized performance
- π¨ Multiple Variants: Default, glassmorphism, and outlined styles
Modal Component
- π Multiple Sizes: xs, sm, md, lg, xl, and fullscreen
- π¨ Design Variants: Default, glassmorphism, minimal, and card
- β¨ Smooth Animations: Fade, scale, and slide effects
- π§ Advanced Features: Maximize/minimize, backdrop control
- β¨οΈ Keyboard Support: Escape key and focus management
- π± Mobile Optimized: Touch-friendly interactionsng modern glassmorphism design, dual layout navigation, advanced input fields, smart search, and elegant modals.
π¨ Components
- Navbar: Versatile navigation with sidebar/top layouts, dropdowns, and mobile responsiveness
- Input: Feature-rich input fields with icons, validation states, and multiple variants
- Search: Smart search with autocomplete, recommendations, and keyboard navigation
- Modal: Elegant modals with animations, multiple sizes, and glassmorphism effects
π¦ NPM Package
npm install vj-ui-componentsPackage: https://www.npmjs.com/package/vj-ui-components
π Quick Start
import { Navbar, Input, Search, Modal } from 'vj-ui-components';
import { IconHome, IconUser } from '@tabler/icons-react';
function App() {
const navItems = [
{ icon: <IconHome />, text: "Dashboard", path: "/" },
{ icon: <IconUser />, text: "Profile", path: "/profile" }
];
return (
<div>
<Navbar
topdata={navItems}
layout="side"
primaryColor="#6366f1"
/>
<Input
label="Username"
placeholder="Enter username"
leftIcon={<IconUser size={18} />}
variant="glassmorphism"
/>
<Search
placeholder="Search products..."
suggestions={['iPhone', 'MacBook', 'iPad']}
variant="glassmorphism"
/>
<Modal
isOpen={showModal}
title="Welcome"
size="md"
variant="glassmorphism"
onClose={() => setShowModal(false)}
>
<p>Welcome to our application!</p>
</Modal>
</div>
);
}π Documentation
Complete documentation and examples are available in the src/components/ directory:
β¨ Features
Navbar Component
- π¨ Dual Layout: Switch between sidebar and top navigation
- π± Mobile Responsive: Automatic mobile menu
- π½ Dropdown Support: Nested navigation menus
- β¨ Active State: Intelligent current page detection
- π¨ Glassmorphism: Modern frosted glass effects
Search Component
- π Smart Autocomplete: Intelligent search suggestions
- π Recent Searches: Remembers user search history
- οΏ½ Trending Items: Popular search recommendations
- β¨οΈ Keyboard Navigation: Full arrow key and enter support
- β‘ Debounced Input: Optimized performance
- π¨ Multiple Variants: Default, glassmorphism, and outlined styles
Modal Component
- οΏ½ Multiple Sizes: xs, sm, md, lg, xl, and fullscreen
- π¨ Design Variants: Default, glassmorphism, minimal, and card
- β¨ Smooth Animations: Fade, scale, and slide effects
- π§ Advanced Features: Maximize/minimize, backdrop control
- β¨οΈ Keyboard Support: Escape key and focus management
- π± Mobile Optimized: Touch-friendly interactions
π― TypeScript Support
Full TypeScript definitions included with comprehensive prop interfaces.
π± Mobile Responsive
All components are fully responsive with touch-optimized interactions.
π¨ Customizable Theming
Extensive customization options for colors, sizes, and styling to match your brand.
π License
MIT License - feel free to use in personal and commercial projects.
π¨βπ» Author
VJNAVEEN2005 - GitHub
π€ Contributing
Issues and pull requests are welcome! Please check the existing issues before creating new ones.
