What is Custom Views?

Custom Views is a small runtime that provides specially designed, customizable, framework-agnostic UI components.

✅ Entirely Native: Built on web standards with no excess tooling and no third party bloat.

✅ Open Source: Use Custom Views however you like, always free and open source.

Introduction

Custom Views allows developers and designers to define reusable content views that can be toggled, personalized, or adapted dynamically for different users and contexts. It is framework-agnostic, meaning it works with plain HTML, JavaScript, or alongside modern frameworks without imposing additional dependencies.

With Custom Views, you can:

  • Show or hide sections of a page based on user preferences.
  • Persist user-selected content variants (e.g., "CLI view" vs "GUI view").
  • Enhance accessibility and provide tailored experiences without bloating your site.

Whether you are building a static site, a dashboard, or a documentation portal, Custom Views gives you the tools to make your content interactive and adaptable while keeping things lightweight and simple.

Quick Demo

Toggles

Choose your operating system to see platform-specific content:

Mac

You're viewing macOS-specific installation steps. Install using Homebrew:

brew install customviews

Linux

You're viewing Linux-specific installation steps. Install using your package manager:

sudo apt-get install customviews

Windows

You're viewing Windows-specific installation steps. Install using npm:

npm install customviews

Tabs

Select a fruit to learn more:

Apple Information

Apples are crisp, sweet fruits that come in many varieties. They are rich in fiber and vitamin C.

Did you know? An apple a day keeps the doctor away!

Orange Information

Oranges are citrus fruits known for their high vitamin C content and refreshing juice.

Did you know? The color orange was named after the fruit, not the other way around!

Pear Information

Pears are sweet, bell-shaped fruits with a soft texture when ripe. They're high in fiber and antioxidants.

Did you know? Pears do not ripen on the tree; they ripen from the inside out after being picked!


GitHub Link