npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

laventa-ui

v0.1.4

Published

A modern UI component library for React and Next.js

Readme

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                 LAVENTA UI                   ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Laventa UI adalah modern UI component library untuk React dan Next.js dengan berbagai varian komponen yang cantik dan fleksibel. Dibangun menggunakan styled-components untuk mendukung theming yang konsisten dan mudah dikustomisasi.


📦 Installation

Pilih salah satu package manager berikut:

npm install laventa-ui
yarn add laventa-ui
pnpm add laventa-ui

⚙️ Requirements

Pastikan dependensi berikut sudah terpasang di project kamu:

npm install react react-dom styled-components

🚀 Quick Start

import { Button } from 'laventa-ui';

function App() {
  return <Button>Click Me</Button>;
}

export default App;

Components & Variants

Button

import { Button } from 'laventa-ui';

<Button variant="primary">Submit</Button>
<Button variant="outline">Cancel</Button>
<Button variant="glow">⚠️ Warning</Button>
<Button variant="pill">Pill Button</Button>
<Button variant="breathing">Processing...</Button>

Available variants: primary, outline, glow, pill, breathing


Card

import { Card } from 'laventa-ui';

<Card variant="glass" title="Glass Card" description="Transparent effect" />

<Card
  variant="profile"
  title="John Doe"
  description="Frontend Developer"
  image="/avatar.jpg"
  actionLabel="Follow"
  onAction={() => console.log('Followed')}
/>

<Card
  variant="stats"
  title="Progress"
  description="Project completion"
  stats="85%"
  image="/stats-bg.jpg"
/>

<Card
  variant="feature"
  title="Premium Feature"
  description="Highlight important features"
  image="/feature-bg.jpg"
  actionLabel="Explore"
/>

<Card
  variant="shimmer"
  title="Shimmer Card"
  description="With animated shimmer effect"
/>

Available variants: glass, profile, stats, feature, shimmer


Header

import { Header } from 'laventa-ui';

<Header variant="default">
  <h3>My Website</h3>
  <nav>
    <a href="/">Home</a>
    <a href="/about">About</a>
  </nav>
</Header>

<Header variant="withLogo">
  <img src="/logo.png" alt="Logo" />
  <h2>My Brand</h2>
  <nav>...</nav>
</Header>

<Header
  variant="withImage"
  title="Hero Section"
  image="/header-bg.jpg"
>
  <h1>Welcome</h1>
  <nav>...</nav>
</Header>

<Header variant="glowTitle">
  <h1>GLOWING TITLE</h1>
  <nav>...</nav>
</Header>

Available variants: default, withLogo, withImage, glowTitle


Footer

import { Footer } from 'laventa-ui';

<Footer
  variant="center"
  content={{
    p: "© 2024 My App",
    small: "All rights reserved",
  }}
/>

<Footer
  variant="gradient"
  content={{
    p: "Follow Us",
    small: "Stay connected",
    socials: ["instagram", "twitter", "facebook"],
  }}
/>

<Footer
  variant="links"
  content={{
    columns: [
      {
        title: "Company",
        links: [
          { label: "About", href: "/about" },
          { label: "Team", href: "/team" },
        ],
      },
    ],
    bottom: "© 2024 Company Name",
  }}
/>

<Footer
  variant="waveGlow"
  content={{
    p: "Laventa UI",
    small: "With animated wave border",
  }}
/>

Available variants: center, gradient, links, waveGlow


Sidebar

import { Sidebar } from 'laventa-ui';

<Sidebar
  variant="gradient"
  title="Navigation"
  menu={[
    { label: "Dashboard" },
    { label: "Profile" },
    { label: "Settings" },
    { label: "Logout" },
  ]}
  onSelect={(item) => console.log('Selected:', item)}
/>

<Sidebar
  variant="glass"
  title="Menu"
  menu={[
    { label: "Home", icon: "🏠" },
    { label: "About", icon: "👤" },
    { label: "Settings", icon: "⚙️" },
  ]}
/>

<Sidebar
  variant="modern"
  title="Navigation"
  menu={[...]}
  bottomButton={{
    label: "Contact Us",
    onClick: () => console.log('Contact clicked'),
  }}
/>

<Sidebar variant="BorderAnimation" title="Menu" menu={[...]} />

Available variants: gradient, glass, modern, BorderAnimation


Customization

Semua komponen mendukung props React standar seperti style, className, dan event handler.

<Button
  variant="primary"
  style={{ margin: '10px', borderRadius: '20px' }}
  className="my-custom-class"
  onClick={() => console.log('Clicked!')}
>
  Custom Button
</Button>

📄 License

MIT License © 2024 Sherly Puput Rahmawati