Build with semantic utilities, shared design tokens, and reusable components. Add interaction with a lightweight JavaScript runtime, independent of your framework.
Use the CSS on its own, connect React when you need it, and compile your styles with the optional CLI.
Write the markup, choose the styles, and let the runtime handle supported interactions. Bring it into the stack you already use.
DOM-aware initialization
New markup. Same behavior.
Once initialized, Hygular detects supported components added to the DOM and prepares them as they approach the viewport. Content loaded later follows the same path as the initial page.
<div data-hygular="tabview">
<!-- Tab controls and panels -->
</div>
DOM changeViewport observationInitialized
A core that stands on its own.
The vanilla JavaScript runtime has no external dependencies. React integration is optional, and the CLI is a separate package.
package.json
"dependencies": {}
ES modulesType definitionsCDN ready
Behavior belongs with the component.
Component styles and JavaScript behavior are developed together, from opening a drawer to switching tabs and displaying a toast.
ModalDrawerTabsDark modeToast
Your framework stays yours.
Use Hygular with plain HTML, server-rendered templates, or a JavaScript framework. Add React hooks where needed, and use the optional CLI to generate CSS from the classes in your project.
HTMLReactNext.jsVueAstroLaravelWordPress
Getting started
Start with styles. Add what you need.
Import the CSS for styling. Add the runtime for interactive components. Use the separate CLI when you want to generate CSS from your project’s classes.
1
Install Hygular
Install the core package with npm, or load a pinned version from a CDN.
2
Add component behavior
Initialize the runtime in the browser, or use hooks for React integration.
Bring Hygular into a visual workflow with UnBondr. Compose pages, refine the details, and export React, Vue, or HTML. Design in Figma then Export as Hygular.