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 🙏

© 2024 – Pkg Stats / Ryan Hefner

leaves-ui-web

v0.8.3

Published

Leaves UI Web is a collection of reusable UI components designed to be used in web applications. This package provides a set of well-crafted, ready-to-use components that can be easily integrated into your projects.

Downloads

739

Readme

Leaves UI Web

Leaves UI Web is a collection of reusable UI components designed to be used in web applications. This package provides a set of well-crafted, ready-to-use components that can be easily integrated into your projects.

Installation

To install the leaves-ui-web package, run the following command:

npm install leaves-ui-web

or, if you prefer using Yarn:

yarn add leaves-ui-web

Configure Tailwind

Update tailwind.config.js:

module.exports = {
  content: [
    './pages/**/*.{js,ts,jsx,tsx}',
    './components/**/*.{js,ts,jsx,tsx}',
    './node_modules/leaves-ui-web/src/**/*.{js,ts,jsx,tsx}',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};

Usage

You can import and use the components in your project as follows:

javascript

import React from 'react';
import { Button, Navbar, Footer } from 'leaves-ui-web';

const App = () => (
  <div>
    <Navbar />
    <Button onClick={() => alert('Button clicked!')}>Click Me</Button>
    <Footer />
  </div>
);

export default App;

Available Components

Here's a list of all the components available in the leaves-ui-web package:

Button:

A customizable button component.

ArticleCards:

Displays articles in a card format.

ContributeGuidelinesSection:

A section to display contribution guidelines.

HeroBannerUseCases:

A banner for highlighting use cases.

CustomFilter:

A filter component with customizable options.

HeroContributeSection:

A section that encourages contributions.

LlmHeroSection:

A hero section designed for LLM content.

DataPoint:

Displays a key data point.

Navbar:

A navigation bar component.

DetailComponent:

A detailed view component.

DiscordSection:

A section for Discord community integration.

Cards:

A component for displaying link cards.

DropDown:

A dropdown menu component.

Carousel:

A carousel for displaying images or content.

ErrorPageBannerImage:

An image banner for error pages.

CassandraLinkSection:

A section highlighting Cassandra links.

EventCard:

A card component for events.

CommunitySection:

A section for community content.

Footer:

A footer component.

ToolsSocialLinks:

A section for displaying social media links related to tools.

ContactForm:

A customizable contact form.

Header:

A header component for the top of your pages.

ContactUsBanner:

A banner section for contact information.

TrainingSection:

A section highlighting training opportunities.

UseCaseCard:

A card component for showcasing use cases.

YoutubeSection:

A section for embedding YouTube content.

NewsLetterBox:

A subscription box for newsletters.

BuildingTeam:

A section to highlight team-building content.

ListingCards:

A component for listing items in a card format.

License

This package is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any ideas, improvements, or bug fixes.

for more detailED documentation please refer to the storybook