centrifugal
v0.6.0
Published
A high-performance web-centric development kit for building mobile-like user interfaces. <br/>
Downloads
574
Maintainers
Readme
Centrifugal
A high-performance web-centric development kit for building mobile-like user interfaces.
Angular version 19-22v.. Documentation
🌀 A fluid UI. Components interact with each other at a hierarchical level to form a unified system. 💥 Visual effects such as motion blur, depth of field, compression/expansion, and more are available, creating a next-generation user interface. 🛠️ Fast, customizable and developer-friendly. ⚡ A powerful API for implementing components of varying functionality and complexity. 💻 Works correctly in all browsers and platforms. 💪 The software portion of the project was completed without a single line of code written using artificial intelligence!
📱 When to Use It: Ideal Use Cases
Platform-independent web applications. Scrolling, animation, and mechanics should look consistent across all browsers, including desktop and mobile devices.
User interfaces for self-service terminals.
PWA platform-independent apps. The mechanics should be identical on any platform.
📦 Installation
npm i centrifugal🚀 Quick Start
<nt-control-container [keyboardEnabled]="true">
<nt-scroll-view #scrollView class="scroll-view" direction="both">
<div class="scroll-view__content" [style.width.px]="3000" [style.height.px]="3000" [class.grabbing]="scrollView.$grabbing | async"></div>
</nt-scroll-view>
<nt-list [items]="items" [bufferSize]="5" [itemRenderer]="itemRenderer" [dynamicSize]="false" [itemSize]="64"></nt-list>
<ng-template #itemRenderer let-data="data">
@if (data) {
<span>{{data.name}}</span>
}
</ng-template>
</nt-control-container>items = Array.from({ length: 100000 }, (_, i) => ({ id: i, name: `Item #${i}` }));📚 API
- NtControlContainer
- NtControl
- NtDrawer
- NtList
- NtScrollView
- NtSheet
- NtSlider
- NtSwitch
- NtTouchableHighlightComponent
📄 License
MIT License
Copyright (c) 2026 djonnyx (Evgenii Alexandrovich Grebennikov)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
