All Projects → ptkdev-boilerplate → svelte-webcomponent-boilerplate

ptkdev-boilerplate / svelte-webcomponent-boilerplate

Licence: other
🏗 Create your HTML5 Web Component with Svelte. Made your web components with this user-friendly boilerplate

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Svelte
593 projects
SCSS
7915 projects
PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to svelte-webcomponent-boilerplate

svelte-cordova-boilerplate
📱 Create a mobile app with this friendly Svelte boilerplate for apache cordova. Made easy your android app and ios app
Stars: ✭ 23 (-60.34%)
Mutual labels:  svelte-boilerplate, github-template, create-svelte-app
svelte-electron-boilerplate
🧬 Create a desktop app with this user-friendly Svelte boilerplate for electron
Stars: ✭ 70 (+20.69%)
Mutual labels:  svelte-boilerplate, github-template, create-svelte-app
smart-custom-element
Smart a lightweight web component library that provides capabilities for web components, such as data binding, using es6 native class inheritance. This library is focused for providing the developer the ability to write robust and native web components without the need of dependencies and an overhead of a framework.
Stars: ✭ 17 (-70.69%)
Mutual labels:  webcomponents, htmlelements, custom-elements-v1
api-viewer-element
API documentation and live playground for Web Components. Based on Custom Elements Manifest format
Stars: ✭ 222 (+282.76%)
Mutual labels:  webcomponents, custom-elements
Aybolit
Lightweight web components library built with LitElement.
Stars: ✭ 90 (+55.17%)
Mutual labels:  webcomponents, custom-elements
Stencil
A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
Stars: ✭ 9,880 (+16934.48%)
Mutual labels:  webcomponents, custom-elements
Dna
Progressive Web Components.
Stars: ✭ 22 (-62.07%)
Mutual labels:  webcomponents, custom-elements
Vaadin Combo Box
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.
Stars: ✭ 113 (+94.83%)
Mutual labels:  webcomponents, custom-elements
Vanilla Hamburger
Animated hamburger menu icons for modern web apps (1.8 KB) 🍔
Stars: ✭ 110 (+89.66%)
Mutual labels:  webcomponents, custom-elements
Api Viewer Element
API documentation and live playground for Web Components
Stars: ✭ 121 (+108.62%)
Mutual labels:  webcomponents, custom-elements
MoleculeJS
A library for creating fast and reactive Custom Elements
Stars: ✭ 39 (-32.76%)
Mutual labels:  webcomponents, custom-elements
Redux Store Element
A custom element allowing a more declarative use of Redux.
Stars: ✭ 83 (+43.1%)
Mutual labels:  webcomponents, custom-elements
Web Components Angular React
Multiple apps as components POC
Stars: ✭ 64 (+10.34%)
Mutual labels:  webcomponents, custom-elements
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (+65.52%)
Mutual labels:  webcomponents, custom-elements
Custom Element
A base class for Web Components (Custom Elements) which provides simple data binding.
Stars: ✭ 60 (+3.45%)
Mutual labels:  webcomponents, custom-elements
Nutmeg
Build, test, and publish vanilla Web Components with a little spice
Stars: ✭ 111 (+91.38%)
Mutual labels:  webcomponents, custom-elements
Markuplint
A Linter for All Markup Languages.
Stars: ✭ 193 (+232.76%)
Mutual labels:  webcomponents, custom-elements
Hybrids
Extraordinary JavaScript framework with unique declarative and functional architecture
Stars: ✭ 2,529 (+4260.34%)
Mutual labels:  webcomponents, custom-elements
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+455.17%)
Mutual labels:  webcomponents, custom-elements
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (+705.17%)
Mutual labels:  webcomponents, custom-elements

🏗 svelte-webcomponent-boilerplate

v2.0.1 License: MIT Powered By Svelte Language: TypeScript ECMAScript: 2019 Discord Server

Create your HTML5 Web Component with Svelte. Made your web components with this user friendly boilerplate.

This is a github template, you can fork it or use as template for start new project with this repository as hello-world. I hate start new project with empty template, often i missing correct configuration, readme instruction or i need of samples of code. Use this repository as template solve this problem.

🎁 Support: Donate

This project is free, open source and I try to provide excellent free support. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. THANK YOU!

Donate Paypal Donate Ko-Fi Donate Github Sponsors Donate Patreon Donate Bitcoin Donate Ethereum

📎 Menu

💡 Features

  • [✔️] Easy to use
  • [✔️] MIT License
  • [✔️] Text animation by Nooray Yemon on Codepen
  • [✔️] Friendly boilerplate + Github templates
  • [✔️] Powered by svelte framework
  • [✔️] Without jQuery depencence
  • [✔️] Configurable with attributes
  • [✔️] Customization with CSS Style
  • [✔️] HTML5 Custom Elements - Native webcomponents
  • [✔️] Work with: Browserify / Webpack / ReactJS / Svelte / Angular / Vue / Wordpress
  • [✔️] Typescript + TSPaths preconfigured
  • [✔️] Userfriendly folders tree
  • [✔️] Prettiers and ESLint preconfigured
  • [✔️] all-contributors-cli and all-shields-cli preconfigured
  • [✔️] JEST Test preconfigured
  • [✔️] Full async code
  • [✔️] Github and Vscode dotfiles preconfigured
  • [✔️] Translations i18n (Help me ❤️)

👔 Screenshot

See Demo here.

🚀 Installation (Web)

  1. Add html code to your page:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>
  1. Require javascript in yourpage (before </body>):
<script src="https://cdn.jsdelivr.net/npm/@ptkdev/svelte-webcomponent-boilerplate@latest/dist/webcomponent.js"></script>

You can replace @latest with specific version, example @2.0.1.

Below is available a description of options values.

📦 Installation (NPM Module - Browserify/Webpack)

  1. Install npm module: npm install @ptkdev/svelte-webcomponent-boilerplate --save
  2. Add html code to your page:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>
  1. Require javascript in your app:
require("@ptkdev/svelte-webcomponent-boilerplate");

or

import "@ptkdev/svelte-webcomponent-boilerplate";

Below is available a description of options values.

📖 Installation (Wordpress)

  1. Download wordpress plugin from mirror and install it.
  2. Add code to your html widget, example: Appearance --> Widget --> insert HTML Widget and paste html code:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

You can insert this html code in posts, widget, html box or theme.

🔵 Installation (React)

  1. Install npm module with npm install @ptkdev/svelte-webcomponent-boilerplate@latest --save:
  2. Import module in your src/App.js on header:
import "@ptkdev/svelte-webcomponent-boilerplate";
  1. Add html code to your App.js template:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

🔴 Installation (Angular)

  1. Install npm module with npm install @ptkdev/svelte-webcomponent-boilerplate@latest --save:
  2. Import module in your app/app.modules.ts on header:
import "@ptkdev/svelte-webcomponent-boilerplate";
  1. Add html code to your html component:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

🟠 Installation (Svelte)

  1. Install npm module with npm install @ptkdev/svelte-webcomponent-boilerplate@latest --save:
  2. Import module in your src/App.svelte on header:
import "@ptkdev/svelte-webcomponent-boilerplate";
  1. Add html code to your html component:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

🟢 Installation (Vue)

  1. Install npm module with npm install @ptkdev/svelte-webcomponent-boilerplate@latest --save:
  2. Import module in your src/App.vue and add webcomponent to ignoreElements of vue config:
import Vue from "vue";
import "@ptkdev/svelte-webcomponent-boilerplate";

Vue.config.ignoredElements = ["svelte-webcomponent-boilerplate"];
  1. Add html code to your html component:
<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

🧰 Options / Attributes

Parameter Description Values Default value Available since
header Setup top text String make v1.0.20210319
flip Setup middle flip text (separte with commas) String with commas svelte,webcomponents,opensource v1.0.20210319
footer Setup bottom text String awesome! v1.0.20210319

HTML Code with attributes:

<svelte-webcomponent-boilerplate
	header="make"
	flip="svelte,webcomponents,opensource"
	footer="awesome!"
></svelte-webcomponent-boilerplate>

🎨 CSS Customization

You can overwrite default css with selector ::part, example:

<style>
	svelte-webcomponent-boilerplate::part(flip) {
		border: 2px solid red;
	}
</style>

Part attribute is, generally, suffix of a class. Use chrome inspector for get the correct value of part="" attributes. See MDN selector ::part docs.

🔨 Developer Mode

🏁 Run Project

  1. Clone this repository or download nightly, beta or stable.
  2. Run npm install
  3. Run npm run dev
  4. Run http://localhost:5000

💾 Setup Project

If you want replace all strings (example: package name, author, urls, etc...) in markdown file, source files and others files of this project you need edit setup.json with correct values and run npm run setup.

📚 Documentation

Run npm run docs

👑 Backers and Sponsors

Thanks to all our backers! 🙏 Donate 3$ or more on paypal, ko-fi, github or patreon and send me email with your avatar and url.

👨‍💻 Contributing

I ❤️ contributions! I will happily accept your pull request! (IMPORTANT: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in .all-contributorsrc and package.json file.

Thanks goes to these wonderful people (emoji key):


Patryk Rzucidło

💻 🌍 📖 🐛

💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!

🦄 Other Projects

💫 License

  • Code and Contributions have MIT License
  • Images and logos have CC BY-NC 4.0 License
  • Documentations and Translations have CC BY 4.0 License
Copyleft (c) 2021 Patryk Rzucidło (@PTKDev) <[email protected]>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].