regardless of your project’s architecture.
script
tag to your document.Animate
element to build your own elements.Find an bug or have an idea? Feel free to create an issue on GitHub.
Since this is a headless library, simple elements like a badge that can be easily created with HTML and CSS are not included. Elements such as a select, or a date picker are also not included in favor of the native HTML elements.
This library is built with TypeScript and tsup. The docs are built with Vite, domco, and TailwindCSS. The package contents are located in src/package
.
bun i
bun dev
src/package
—each element should extend Base
or Animate
. Each element has a index.ts
file with the source code, and then a define.ts
file where it is imported and called for use with a CDN.src/docs
.src/package/index.ts
.bun doc
to document your element with TypeDoc.tsup.config.ts
, then run bun package
to build with tsup.