modern-stripe-navbar Tailwind Templates

Modern Stripe Navbar

A modern React navigation component featuring Stripe-inspired design, smooth animations, and responsive dropdowns. Built with TypeScript, Tailwind CSS, and Framer Motion for exceptional developer experience and user interface.

<<<<<<< HEAD

Modern Stripe-Inspired Navigation ๐Ÿš€

TypeScript React Tailwind CSS Framer Motion

A modern, animated navigation component inspired by Stripe's design system. Built with React, TypeScript, Tailwind CSS, and Framer Motion.

โœจ Features

  • ๐ŸŽฏ Pixel-perfect recreation of Stripe's navigation
  • ๐Ÿ“ฑ Fully responsive design with mobile-first approach
  • ๐ŸŽจ Smooth animations powered by Framer Motion
  • ๐ŸŒ™ Customizable theming with Tailwind CSS
  • ๐ŸŽฎ Interactive hover effects and transitions
  • ๐Ÿ“ฆ Tree-shakeable and optimized bundle
  • ๐Ÿ’ป TypeScript support for better developer experience
  • ๐Ÿ” Accessible by default

๐Ÿš€ Demo

Live Demo

Demo Preview

๐Ÿ› ๏ธ Installation

# Using npm
npm install modern-stripe-nav

# Using yarn
yarn add modern-stripe-nav

# Using pnpm
pnpm add modern-stripe-nav

๐Ÿ’ป Usage

import { Navbar } from 'modern-stripe-nav';
import { productItems, solutionItems, developerItems, resourceItems } from './mockData';

function App() {
  return (
    <div className="app">
      <Navbar />
    </div>
  );
}

Customizing Navigation Items

// mockData.ts
import { CreditCard, Building2, ShoppingCart /* ... */ } from 'lucide-react';

export const productItems = [
  {
    title: "Global Payments",
    links: [
      { name: "Payments", icon: CreditCard },
      // ... more items
    ]
  }
  // ... more sections
];

๐ŸŽจ Customization

The component uses Tailwind CSS for styling and can be customized using your project's tailwind.config.js:

module.exports = {
  theme: {
    extend: {
      colors: {
        background: 'var(--background)',
        text: 'var(--text)',
        // ... your custom colors
      },
    },
  },
};

๐Ÿ“š API Reference

Prop Type Default Description
className string undefined Additional classes to apply to the navbar
logo ReactNode 'Stripe' Custom logo component
menuData MenuData defaultMenuData Navigation menu structure
Prop Type Default Description
title string required Title of the dropdown section
items MenuItem[] required Array of menu items

๐Ÿค Contributing

Contributions are welcome! Please read our contributing guidelines to get started.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

๐ŸŒŸ Support

If you found this helpful, please consider giving it a star โญ๏ธ to show your support!

Report Bug ยท Request Feature

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

33a036c (feat: Initial commit ๐Ÿš€)

Top categories

Loading Svelte Themes