<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb" -->

---
title: Centrifugal. A flexible user interface for creating...
description: An open-source Angular library called Centrifugal offers tools and components for building high-performance web interfaces, including a standalone application...
canonical: https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Centrifugal. A flexible user interface for creating standalone web applications. | daily.dev
og:description: An open-source Angular library called Centrifugal offers tools and components for building high-performance web interfaces, including a standalone application...
og:url: https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb
og:image: https://api.daily.dev/og/posts/HdoIH0KsB.png
og:image:alt: Centrifugal. A flexible user interface for creating standalone web applications.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Centrifugal. A flexible user interface for creating standalone web applications.

**[Evgenii Grebennikov](https://daily.dev/sources/22zibt01d3xriz2s4xfmm)** · [@djonnyx](https://daily.dev/djonnyx) · 4 min read · 0 upvotes · 0 comments

## Summary

An open-source Angular library called Centrifugal offers tools and components for building high-performance web interfaces, including a standalone application mode with a fully customizable virtual keyboard suited for kiosk-style UIs. The library introduces a 'Fluid UI' concept where components interact physically (compression, tension, impulses) and includes custom scroll containers, motion blur effects, 3D list transformations, and complex components like sheets and sliders. Standard HTML elements require an NtControl directive for proper handling, and the project provides an extensible API along with live demo examples on its official site.

## Content

Hi everyone! Today I’d like to talk about another [open-source](https://github.com/DjonnyX/centrifugal) project of mine for building web applications based on Angular.

Over the past few years, I have conducted numerous successful experiments with high-performance web interfaces, which has given me a clear understanding of the structure and architecture for the project discussed below.

So, meet [Centrifugal](https://github.com/DjonnyX/centrifugal). Check out the project's [official website](https://centrifugal.eugene-grebennikov.pro/)—there are plenty of cool use cases there!

The project was originally conceived to create a set of high-performance, flexible tools and components for building web applications. However, during one of the development iterations, I decided to add support for creating "all-in-one" interfaces—specifically, a standalone application mode featuring a fully customizable virtual keyboard. This enabled full support for building user interfaces for applications such as self-service kiosks and similar systems.

![1000467291.gif](https://media.daily.dev/image/upload/s--iRsuRHoT--/f_auto/v1789792332/ugc/content_9c3d57f2-1ffc-4492-a5ac-a4f4adbc9b1d?_a=BAMAMicg0)

Demonstration of the virtual keyboard in standalone mode.

Keyboard position, layouts, key sets, and styles are fully customizable. A custom mechanism for focusing on on-screen elements has been implemented. When a text field gains focus, the virtual keyboard slides out (depending on the configuration), and scroll containers undergo multi-level scrolling up to the keyboard's actual edge, ensuring ease of input and readability.

Since custom scroll containers are used, the handling of standard interactive HTML components—such as <button/>, <a/>, <input/>, <textarea/>, and so on—changes slightly. To ensure correct handling, a special `NtControl` directive has been created; it must be applied to all standard interactive HTML components.

Example:

```
<button ntControl (onVirtualClick)="onVirtualClickHandler($event)">
  My button
</button>
```

Full support has been implemented for `<input/>` types such as text, password, number, email, tel, and URL. Additionally, you can specify a custom text field type and configure the corresponding keyboard layout for that type.

```
<input type="text" ntControl value"Text">
```

For an example of a custom type and keyboard layout, see the [Virtual keyboard](https://centrifugal.eugene-grebennikov.pro/#/virtual-keyboard) link. Using [Centrifugal](https://github.com/DjonnyX/centrifugal) components is quite simple; take a look at the example of creating a scroll-view:

```
<nt-scroll-view #scrollView>
  <div class="scroll-view__content" [style.width.px]="3000" [style.height.px]="3000"
    [class.grabbing]="scrollView.$grabbing | async">
    My content
  </div>
</nt-scroll-view>
```

or a slider example:

```
<nt-slider [step]="1" [max]="100" [value]="value()" thumbSize="50%" (onChange)="onSliderChangeHandler($event)"></nt-slider>
```

## **Fluid UI**

Now I would like to demonstrate the Fluid UI concept and the principles of how it works.

Each component of the user interface—developed using the [Centrifugal](https://github.com/DjonnyX/centrifugal) library—interacts with the other components along a hierarchical chain, employing specific "physical" interactions. Forces of compression or tension may be applied, impulses transmitted, and so forth.

![1000467292.gif](https://media.daily.dev/image/upload/s--Pp4qOaa1--/f_auto/v1789792912/ugc/content_cc836a04-5a33-4f74-895e-a036f809d6c1?_a=BAMAMicg0)

A representation of the interaction between Fluid UI components.

The library does not handle standard web scroll containers; instead, [Centrifugal](https://github.com/DjonnyX/centrifugal) employs its own implementation of scroll containers featuring specific "physical" properties—such as scroll speed, acceleration, friction, and so on. This tool focuses entirely on working with standard HTML components, providing developers with familiar methods for building web applications.

In addition to the "physics" engine, each base component accepts a set of parameters to generate a motion blur effect. Motion blur is disabled by default, as it is a relatively resource-intensive post-processing effect.

![1000467293.gif](https://media.daily.dev/image/upload/s--UrZ4R_ne--/f_auto/v1789793104/ugc/content_1137d122-ad6c-4013-831e-03c3bc8bb894?_a=BAMAMicg0)

An example demonstrating the compression/stretching of user interface components.

In addition to motion blur, virtual lists can apply element transformations to create 3D list spaces, as well as depth of field and fog effects for list elements receding into the background.

![1000467294.gif](https://media.daily.dev/image/upload/s--hNpdMMp9--/f_auto/v1789793167/ugc/content_dff6fd3a-264c-4914-9b68-cd48554f578a?_a=BAMAMicg0)

Drawer component with vertical spacing.

Support is provided for complex component interactions—such as the example in the image above, which demonstrates a sectioned "Sheet" web component. In addition to controlling the component itself (opening or closing it), the user can simultaneously interact with its internal components.

Most importantly, notice how simple it is to use complex component implementations in the code:

```
<nt-sheet #sheet class="sheet" position="bottom">
  <div class="sheet__content" [class.grabbing]="sheet.$grabbing | async">
    Content
  </div>
</nt-sheet>
```

It is designed with developer ease of use in mind.

All this and more enables you to create sophisticated next-gen web interfaces for your applications!

## **API**

The API is available for extensions, enabling the creation of compelling components. See an [example of a custom component](https://centrifugal.eugene-grebennikov.pro/#/time-picker-demo) built using the library's standard API.

A full description of the API and usage examples are provided on the project's [official website](https://centrifugal.eugene-grebennikov.pro/).

## **Examples**

The `centrifugal/examples` section features great examples of how to use the tool. You can view live demos on the project's official website under "Advanced Examples."

## Similar posts on daily.dev

- [The 10 Best Angular UI Libraries](https://daily.dev/posts/the-10-best-angular-ui-libraries-v04qzwaiz) · Telerik · 1 upvotes · 0 comments
- [Get started with Angular: Introducing the modern reactive workflow](https://daily.dev/posts/get-started-with-angular-introducing-the-modern-reactive-workflow-0j4wefott) · InfoWorld · 4 upvotes · 0 comments
- [Jelly UI — Soft Web Components](https://daily.dev/posts/jelly-ui-soft-web-components-k8vno88yp) · Hacker News · 5 upvotes · 0 comments
- [Angular Material or PrimeNG? Choosing the Right UI Library in 2026](https://daily.dev/posts/angular-material-or-primeng-choosing-the-right-ui-library-in-2026-aklwqqque) · Syncfusion · 23 upvotes · 8 comments
- [Using Agentic AI to create your own component library](https://daily.dev/posts/using-agentic-ai-to-create-your-own-component-library-feei3hkq1) · Tim Deschryver · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#angular](https://daily.dev/tags/angular)

[View this post on daily.dev](https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb","headline":"Centrifugal. A flexible user interface for creating standalone web applications.","text":"An open-source Angular library called Centrifugal offers tools and components for building high-performance web interfaces, including a standalone application mode with a fully customizable virtual keyboard suited for kiosk-style UIs. The library introduces a 'Fluid UI' concept where components interact physically (compression, tension, impulses) and includes custom scroll containers, motion blur effects, 3D list transformations, and complex components like sheets and sliders. Standard HTML elements require an NtControl directive for proper handling, and the project provides an extensible API along with live demo examples on its official site.","url":"https://daily.dev/posts/centrifugal-a-flexible-user-interface-for-creating-standalone-web-applications--hdoih0ksb","datePublished":"2026-09-19T04:51:57.429Z","dateModified":"2026-09-19T05:00:37.433Z","author":{"@type":"Person","name":"Evgenii Grebennikov","url":"https://daily.dev/djonnyx","image":"https://media.daily.dev/image/upload/s--iM-m9HGE--/f_auto/v1781254371/avatars/avatar_22zIbt01D3XRiZ2S4XFmm?_a=BAMAMiWQ0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"image":"https://media.daily.dev/image/upload/s--DIrxOgKl--/f_auto/v1789794036/posts/HdoIH0KsB?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/22zibt01d3xriz2s4xfmm","name":"Evgenii Grebennikov"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Evgenii Grebennikov","item":"https://daily.dev/sources/22zibt01d3xriz2s4xfmm"},{"@type":"ListItem","position":3,"name":"Centrifugal. A flexible user interface for creating standalone web applications."}]}
```

