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

ecv-component

v0.0.19

Published

Pacote de web componentes feito para criação de layouts.

Readme

ECV COMPONENT

npm version License: MIT Downloads

What it is:

It is a set of Web Componentes created using the Lit Element library, aiming to reuse, speed up, and standardize project development for the sector.

Case Study

For about a month, several studies and tests were carried out to find a way to streamline the development process for creating layouts. Various templates and web layout types were analyzed, and some were selected to be reconstructed using the ECV Component structure.

Why use ECV Component?

It became evident that with every new project created, everything had to be rebuilt, including recreating some components that had already been developed in past projects. To solve this problem, the ECV Component library was developed. The name originated from the abbreviated letters (E C V) which stand for Visual Componentization Elements — A name that highlights the creation of reusable visual components.

Installation

npm install ecv-component

Import

//importing the entire library
import 'ecv-component' 
// Or import a specific type
import type {BoxDecorationStyle} from 'ecv-component';

Using ECV Component

Basics of Layout Construction

You can create layouts using ECV Component, simply by adding the components to your project. However, it is recommended to use three specific components for this purpose:

  • ECV Row - Layout with horizontal positioning.
  • ECV Column - Layout with vertical positioning.
  • ECV Grid - Grid layout.

Layout focusing on horizontal positioning

To create a layout with horizontal positioning, use the ECV Row component. See below the same scenario using just HTML structure and another using the ECV Component structure.

Example using HTML

    <style>
      /*CSS*/
      .container{
        display: flex;
      }

    </style>
    <!-- HTML -->
    <div class="container">
        <p>A</p>
        <p>B</p>
        <p>C</p>
    </div>

Example using ECV Component

    /*other code*/
    ...

    render(): TemplateResult {

        return html`
            <ecv-flex-row>
                <ecv-text>A</ecv-text>
                <ecv-text>B</ecv-text>
                <ecv-text>C</ecv-text>
            </ecv-flex-row>
        `;
    }
    

Documentation

The complete documentation, including usage examples, installation instructions, and detailed explanations of each component of the ECV Component library, is available on our official GitHub repository.

Access it here:

https://github.com/LeonardoLAraujo/ecv-component

Documentation Website

https://leonardolaraujo.github.io/ecv-component/

There you will find:

Step-by-step installation guide

Practical usage examples

Detailed explanation of each component

How to contribute to the project

Common troubleshooting

We highly recommend consulting the GitHub documentation to take full advantage of all the library's features.

I recorded building a small layout using ecv components

https://www.youtube.com/watch?v=tPBbeszlIXw

ECV Component — Simplifying layout creation with web components.