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

@labor-digital/vuetiful

v1.37.6

Published

A library of ui component skeletons for vue.js

Downloads

32

Readme

Vuetiful - Vue UI Component Skeletons

This is a library of Vue.js UI components. Contrary to what you find in most other libraries on the interwebs vuetiful aims to be "ugly". Wait what? Yes, we want to provide the implementation of components without any unnecessary styling. The components are provided as skeletons with only the required css you need for them to function. All other theming has to be done by yourself. But why? Because for highly customized projects it is always a hassle to use a material/bootstrap library and convert the styles to match your designer's layouts.

Documentation

We provide a complete documentation of all components in our storybook online.

Usage and installation

We don't provide a pre-build version of the components but the sources as .vue files. This means your asset-building setup (probably webpack) should be able to process single-file components, as well as SASS files. For server side rendering make sure you don't exclude the source files using the "webpack-node-externals" plugin.

Shameless self promotion: we have an easy to use webpack asset-builder setup you can use with almost zero configuration

  • Install the npm dependency:
npm install --save-dev @labor-digital/vuetiful
  • Create a new project specific component like "ProjectSelectBox.vue"
  • For a simple adjustment of the styles you can just extend the base component like:
<script lang="ts">
	import BaseSelectBox from "@labor-digital/vuetiful/src/Components/SelectBox/SelectBox.vue";
	export default {
		name: "ProjectSelectBox",
		extends: BaseSelectBox
	};
</script>

<style scoped lang="sass">
// Your styles go here...
</style>
  • If you want to modify a slot/the template or add custom behaviour you have to adjust file like so:
<template>

	<!-- Note how we bind this.$props to pass our child props to the parent.
		 You can also bind additional event listeners or static props -->
	<BaseSelectBox v-bind="this.$props" @click.native="onClick" data-foo-bar="asdf">
		<!-- Overwrite the template of a single slot like so: -->
		<template v-slot:input-end>
			After your input
		</template>
	</BaseSelectBox>
</template>

<script lang="ts">
	import BaseSelectBox from "@labor-digital/vuetiful/src/Components/SelectBox/SelectBox.vue";
	export default {
		name: "ProjectButton",
		// Note how e use the base component as a base template while, at the same time
		// extending its functionality
		components: {BaseSelectBox},
		// Register your custom props
		props: {
			yourProp: String
		},
		extends: BaseSelectBox,
		methods: {
			onClick() {
				console.log("THIS CLICK", this.$props);
			}
		}
	};
</script>

<style scoped lang="sass">
// Your styles go here...
</style>

Other open source components

This package does not only contain components written by us but also components we found online over the course of the last years. All components we use are included via npm but adjusted in some way or another to fit the other components in this package.

Included external packages are:

If you like their implementation make sure to give them a star on github!

Postcardware

You're free to use this package, but if it makes it to your production environment, we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: LABOR.digital - Fischtorplatz 21 - 55116 Mainz, Germany.

We publish all received postcards on our company website.