All Projects → skatejs → Skatejs

skatejs / Skatejs

Licence: mit
Effortless custom elements powered by modern view libraries.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to Skatejs

outline
Outline is a web component based design system starter kit. Outline is based on the latest technologies and tools to help your component authoring experience and facilitate adoption in your organization.
Stars: ✭ 28 (-99.13%)
Mutual labels:  web-components
glimmer-web-component
Library to boot up your Glimmer components as Web Components
Stars: ✭ 32 (-99.01%)
Mutual labels:  web-components
Webcomponents.org
Home of the web components community
Stars: ✭ 280 (-91.32%)
Mutual labels:  web-components
nuxeo-web-ui
New Nuxeo Web UI
Stars: ✭ 51 (-98.42%)
Mutual labels:  web-components
svelte-webcomponents
A ready-to-use project template to build custom elements (web components) with Svelte 3 with support and examples for web components, jest, sass, nested components with props, eslinting, stylelinting, Github actions, propagating custom events from shadow-DOM to real-DOM etc.
Stars: ✭ 22 (-99.32%)
Mutual labels:  web-components
sodium-ui
Sodium is a simple, modular and customizable web component library to build elegant and accessible UI pieces for your React Application.
Stars: ✭ 23 (-99.29%)
Mutual labels:  web-components
social-button
Social Buttons as Web Components
Stars: ✭ 17 (-99.47%)
Mutual labels:  web-components
Base Components Recipes
A collection of base component recipes for Lightning Web Components on Salesforce Platform
Stars: ✭ 293 (-90.91%)
Mutual labels:  web-components
storify
Instagram/Whatsapp stories clone built on Web Components and Web Animations API. 🔥
Stars: ✭ 64 (-98.02%)
Mutual labels:  web-components
Kpc
A UI Components Library for Intact, Vue, React and Angular.
Stars: ✭ 266 (-91.75%)
Mutual labels:  web-components
elements
Lovingly crafted ui components based on web components. Works well with all Frameworks - including Angular, React and Vue.
Stars: ✭ 42 (-98.7%)
Mutual labels:  web-components
KeyboardSwitch
An application which switches typed text as if it were typed with another keyboard layout
Stars: ✭ 17 (-99.47%)
Mutual labels:  reactiveui
anywhere-webcomponents
A UI work in progress based on custom elements (web components) for use in anywhere.
Stars: ✭ 17 (-99.47%)
Mutual labels:  web-components
ErogeHelper
A visual novel tool for win-tablet based on Textractor
Stars: ✭ 68 (-97.89%)
Mutual labels:  reactiveui
Weightless
High-quality web components with a small footprint
Stars: ✭ 284 (-91.19%)
Mutual labels:  web-components
PolymerProjects
An open list of projects using Polymer
Stars: ✭ 83 (-97.43%)
Mutual labels:  web-components
uce-template
A Vue 3 inspired Custom Elements toolless alternative.
Stars: ✭ 96 (-97.02%)
Mutual labels:  web-components
Synergy
Synergy is a tiny runtime library for building web user interfaces
Stars: ✭ 296 (-90.82%)
Mutual labels:  web-components
Statblock5e
A Web Component statblock for D&D 5E
Stars: ✭ 292 (-90.95%)
Mutual labels:  web-components
dawn
A startpage called "dawn"
Stars: ✭ 162 (-94.98%)
Mutual labels:  web-components

Skate

Build Status Downloads per month Join the chat at https://gitter.im/skatejs/skatejs Follow @skate_js on Twitter

Skate is a functional reactive abstraction over the web component standards as a set of packages that enables you to write small, fast and scalable web components using popular view libraries such as React, Preact and LitHTML.

  • 🌏 Cross-framework compatible components.
  • ⚛️ Render components using your favourite view library, or none at all.
  • 👑 Guided conventions for best-practices when reflecting between, and reacting to attributes, properties and events.
  • 🌟 Full TypeScript support.
  • 📚 Docs https://skatejs.netlify.com.

Getting started

The simplest way to get up and running is to start with a pre-configured element such as @skatejs/element-lit-html.

npm i @skatejs/element-lit-html

Simple example

import Element, { html } from '@skatejs/element-lit-html';

export default class extends Element {
  static get props() {
    return {
      name: String
    };
  }
  render() {
    return html`
      Hello, ${this.name}!
    `;
  }
}

Other examples

  1. Todo list

Cli

There's a CLI to get you up and running: https://skatejs.netlify.com/packages/cli.

$ npm i -g @skatejs/cli
$ skatejs

Polyfills

Skate builds upon the Custom Elements and the Shadow DOM standards. It is capable of operating without the Shadow DOM — it just means you don't get any encapsulation of your component's HTML or styles. It also means that it's up to you to provide a way to project content (i.e. <slot>). It's highly recommended you use Shadow DOM whenever possible.

Though most modern browsers support these standards, some still need polyfills to implement missing or inconsistent behaviours for them.

For more information on the polyfills, see the web components polyfill documentation, emphasis on the caveats.

Browser Support

Skate supports all evergreens and IE11, and is subject to the browser support matrix of the polyfills.

Backers

Support us with a monthly donation and help us continue our activities. Become a backer!

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. Become a sponsor!

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].