uhtml is a minimal JavaScript library for building fast, reactive HTML and SVG interfaces with standard web platform features. It uses tagged template literals to provide a JSX-inspired syntax without requiring a compiler or specialized build tools. Components can be written as regular functions and connected to reactive state through signals, computed values, effects, batching, and untracked reads. The renderer supports keyed nodes, references, fragments, event handlers, boolean attributes, direct property updates, and object spreading. It also integrates with native custom elements and simplifies accessibility and dataset management through dedicated aria and data attributes. Development builds include runtime diagnostics that help identify malformed templates while production builds remain focused on compact rendering.

Features

  • HTML and SVG tagged templates
  • Function-based reactive components
  • Signals, computed values, and effects
  • Keyed nodes, references, and fragments
  • Event, property, and boolean attribute bindings
  • Native custom element compatibility

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

MIT License

Follow uhtml

uhtml Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of uhtml!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML

Registered

3 days ago