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

next-shadcn

v0.2.24

Published

This package makes it easy to produce complex components

Downloads

1,012

Readme

next-shadcn

About

Next-Shadcn is a fully dynamic, open-source tool designed to streamline the creation of complex components in Next.js applications using Shadcn. It enables developers to build visually appealing applications that meet specific requirements. Built on top of the Dialog, Popover, and Menu components from Shadcn UI, Next-Shadcn enhances productivity and fosters creativity in web development.

Installation

To install the next-shadcn , simply run the following command

For npm:

npm i next-shadcn

Yarn:

yarn add next-shadcn

pnpm:

pnpm add next-shadcn

Features

  • Customization: Tailor components by utilizing props to meet your specific design and functionality needs. This provides complete control over the components, allowing you to efficiently and effectively build modern web applications.
  • Accessibility: Crafted with accessibility in mind, this approach ensures that a wider audience can interact with your applications.
  • Performance Enhancement: Engineered to mitigate common performance issues found in web applications, it provides a smoother user experience and quicker load times.
  • Next.js: Built using the Next.js framework.
  • TypeScript: Leverage TypeScript for type-safe development.
  • Tailwind CSS: Harness the capabilities of Tailwind CSS for styling.
  • Shadcn/ui: Pre-integrated with shadcn/ui for rapid and clean UI development.

Usage

The CustomDialog component is designed for flexibility and ease of use in applications. Below, you will find detailed instructions on how to implement this component, along with various customization options to adapt it to specific needs

Basic Usage To use the CustomDialog component with default settings, simply add it to a main component like this:

<CustomDialog />

This will render the dialog with its default properties.

Customization Options The CustomDialog can be customized with several properties that enable dynamic changes to the content, buttons, and background. Below are the available properties:

<CustomDialog
  containerClassName="flex items-center justify-center p-10 min-h-[40vh] min-w-[30vw]"
  cardClassName="backdrop-blur-xl bg-blue-100 border p-6 w-full sm:w-50 md:w-80 lg:w-96 h-auto dark:border-gray-300 dark:text-white"
  titleClassName="font-bold text-2xl text-blue-800"
  descriptionClassName="pt-3 text-gray-700"
  backgroundImage="/img2.svg"
  buttonColor="#f43f5e"
  title="Change the title of main dialog  in the CustomDialog component as needed"
  description="Change the description and content of main dialog  in the CustomDialog component as needed"
  titleDialog="Change the title of the second dialog  in the CustomDialog component as needed"
  descriptionDialog="Change the description of the second dialog in the CustomDialog component as needed"
  titlePopover="Change the title of the popover in the CustomDialog component as needed"
  descriptionPopover="Change the description in the CustomDialog component as needed"
/>

License

Licensed under the [MIT license]