CSSUI is a library of interactive user interface components realized in pure HTML and CSS


Use npm to install CSSUI in your project:

npm i css-ui-lib

Or Download it here.


The library includes a global stylesheet and components list divide by folder.

Each component folder includes two files:

  1. a HTML template file
  2. a CSS stylesheet.

You can use template files as partial or copy/paste the code into the project’s files according to your needs.

Stylesheets Cascade

<!-- CSSUI Global Stylesheet -->
<link rel="stylesheet" href="/vendor/cssui.css">

<!-- CSSUI Components -->
<link rel="stylesheet" href="/vendor/cssui/accordion.css">
<link rel="stylesheet" href="/vendor/cssui/tabs.css">

<!-- Project Files -->
<link rel="stylesheet" href="your-variables.css">
<link rel="stylesheet" href="your-style.css">

Files Included

File NameNotesSizeRequired
cssui.cssThis file has the CSS variables used by all components.14kb✔ Required
accordion/accordion.html accordion/accordion.cssAccordion component.14kbOptional
dropdown/dropdown.html dropdown/dropdown.cssDropdown component.14kbOptional
modal/modal.html modal/modal.cssModal component14kbOptional
slideout/slideout.html slideout/slideout.cssSlideout component14kbOptional
tabs/tabs.html tabs/tabs.cssTabs component14kbOptional
tooltip/tooltip.html tooltip/tooltip.cssTooltip component14kbOptional


Open an issue here on Github to share feedback, report bug or ask help.