0.0.26 • Published 3 months ago
unstyled-web-components v0.0.26
Unstyled Web Components
A repository of web components that don't use the
shadow dom and can thusly be easily styled.
For examples please see the index.html
in the respective components folders.
If you want to see the components live you'll just have to download this repo
, run bun dev
and go to localhost:3000
.
Usage
In Browser
load uwc by adding this to your htmls <head>
:
<!-- defer is necessary if you serve some uwc component along with the full html -->
<script
defer
src={`https://unpkg.com/unstyled-web-components@${version}/dist/index.js`}
></script>
<!-- default styling, i.e. the "user agent stylesheet". I'd recommend including this. -->
<link
rel="stylesheet"
href={`https://unpkg.com/unstyled-web-components@${version}/dist/index.css`}
/>
Locally, for development
Include an ambient import as close to your entrypoint as possible
import "unstyled-web-components";
0.0.26
3 months ago
0.0.25
3 months ago
0.0.23
3 months ago
0.0.24
3 months ago
0.0.22
4 months ago
0.0.20
4 months ago
0.0.21
4 months ago
0.0.19
4 months ago
0.0.17
4 months ago
0.0.18
4 months ago
0.0.15
4 months ago
0.0.16
4 months ago
0.0.13
4 months ago
0.0.14
4 months ago
0.0.11
4 months ago
0.0.12
4 months ago
0.0.10
4 months ago
0.0.9
4 months ago
0.0.8
4 months ago
0.0.5
4 months ago
0.0.7
4 months ago
0.0.6
4 months ago
0.0.4
5 months ago
0.0.3
5 months ago
0.0.2
5 months ago
0.0.1
5 months ago