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

@charpente-ui/vue

v1.1.1

Published

Charpente UI is a headless CSS Vue component library.

Readme

Charpente UI

Version Downloads License

Introduction

A logic-first, headless UI library for Vue 3. The accessibility and logic you need, without the CSS you don't.

Philosophy: Don't Reinvent the Wheel

Charpente UI is built on a simple promise: We handle the boring stuff, you handle the design.

Most UI libraries are bloated because they try to impose a visual style. Charpente UI is headless. We provide the "chassis" (HTML structure and complex input logic) and you bring the "paint" (Tailwind, CSS Modules, or Styled Components).

Core Principles:

  • Zero Style: No CSS included. Total freedom for your UI.
  • Transparent Wrapper: We don't hide native HTML. Attributes like type, placeholder, or required work exactly like standard HTML via attribute inheritance.
  • Smart Logic: Complex components like CCheckbox or CRadio handle array management and state internally so you don't have to "take the lead" on complex boilerplate.

Installing

npm install @charpente-ui/vue

Usage

<script setup>
    import { ref } from 'vue';
    import { CInput, CButton, CLabel } from '@charpente-ui/vue';

    const email = ref('');
</script>

<template>
    <div class="form-group">
        <CLabel for="email-field">Email Address</CLabel>

        <CInput id="email-field" v-model="email" type="email" placeholder="[email protected]"
                class="my-custom-input-style"/>

        <CButton @click="submit" class="btn-primary">
            Subscribe
        </CButton>
    </div>
</template>

Component Reference

  1. Form Inputs (CInput, CTextarea, CSelect)

These components are thin wrappers around native elements. They use v-model and automatically link with labels via useId(). Full attribute inheritance.

  1. Selection Logic (CCheckbox, CRadio)

Managing checkbox arrays in Vue can be repetitive. Charpente UI simplifies this:

<CCheckbox v-model="tags" value="foo"/>
<CCheckbox v-model="tags" value="bar"/>
  1. Polymorphic Elements (CButton)

The button can change its HTML tag while keeping its behavior.

<CButton as="a" href="/login">Login Link</CButton>
<CButton as="RouterLink" to="/dashboard">Dashboard</CButton>

Components

| Name | Core Logic | Tag | Status | |----------|----------------------------------------------------------------------------------|-------------|--------| | Button | Polymorphic: Switches tags (a, button, etc...) while keeping logic. | CButton | Ready | | Checkbox | Smart Toggle: Handles array state and booleans natively. | CCheckbox | Ready | | Form | Auto-Submit: Integrated preventDefault and event handling. | CForm | Ready | | Input | Auto-ID: Auto-links to labels via useId() and full attributes inheritance. | CInput | Ready | | Label | Context-Aware: Simple, accessible binding for any input. | CLabel | Ready | | Radio | Selection: Minimalist wrapper for native radio input. | CRadio | Ready | | Select | Native Wrapper: Easy option management without the boilerplate. | CSelect | Ready | | Textarea | Flexible Binding: Auto-ID and reactive model management. | CTextarea | Ready |