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

winify

v0.1.95

Published

Build modern applications with reusable components, independent of frameworks πŸš€

Downloads

41

Readme

Winify is an innovative UI component library, framework-agnostic and based on Lit technology. Its distinctive feature lies in the exclusive utilization of web components, ensuring a modular and efficient web development experience.

Table of contents

Features

  • πŸ”© Easily Customizable
  • πŸ–± Flexible & Reusable - Winify components are built on top of Lit to allow interoperability
  • πŸ•Š Lightweight
  • 😍 Framework-agnostic - Web components are designed to be framework agnostic, meaning they can be used with any framework or library, or on their own, without requiring additional dependencies

Installation

To use winify components, all you need to do is install the winify package.

According to the package manager you use, use the suitable command line:

# with Yarn
$ yarn add winify

# with npm
$ npm i winify

# with pnpm
$ pnpm add winify

# with Bun
$ bun add winify

Usage

Once installed, you can import the necessary web components into your application. Here are different ways to use components according to your frontend framework or library.

Note : Winify web components follow a naming convention. They start with "w-" followed by the component name, with the exception of React.

In a React project

For React, use the component with a capital letter and without the "w-" prefix:

import { Button } from "winify";

// Use the Button component
function App() {
  return <Button>My Button</Button>;
}

In other frameworks/libraries (Vuejs, Angular) or in Vanilla JavaScript

For other frameworks, use the lower-case prefix "w-":

import { w-button } from "winify";

<w-button>My Button</w-button>

Components can take attributes. For example, for the button:

<w-button variant="outline">My Button</w-button>
<w-button loading>My Button</w-button>

Contributing

Your contribution is welcome! Here's how you can participate in the development of Winify:

  • Report issues: If you find a bug or have an improvement idea, please create an issue on our GitHub page.

  • Propose enhancements: Do you have ideas for new components or additional features? Let us know on GitHub.

  • Submit pull requests: If you are familiar with the code, feel free to submit pull requests to fix issues or add features.

  • Share and support: Share Winify with other developers and give it a ⭐ on GitHub if you appreciate it.