Basis Image (Custom Element)

like <img> but supports .basis files using Web Component

Tag <basis-img>

Live

https://basis-image.karan.pro/

Usage

<script src="https://basis-image.karan.pro/build/bundle.js" />
<basis-img src="image.basis" />

Codepen Example

https://codepen.io/karanganesan/pen/xxGawYp :)

Based on https://github.com/BinomialLLC/basis_universal/

Made by https://twitter.com/karanganesan

also check out Basis Viewer https://github.com/karanganesan/basis-viewer

Top categories

Loading Svelte Themes