18 个仓库
Systems for managing keyboard focus and navigation flow between individual interactive UI elements.
Distinct from Focus Navigation Controllers: Focuses on element-level focus within a view rather than window-level navigation between screens.
Explore 18 awesome GitHub repositories matching development tools & productivity · Element Focus Controllers. Refine with filters or upvote what's useful.
Terminal.Gui is a cross-platform .NET toolkit for building interactive text-based user interfaces. It provides a component-based architecture, a terminal rendering engine, and a declarative layout system to create console applications that run consistently across Windows, macOS, and Linux. The framework distinguishes itself with a comprehensive set of interactive console widgets, including data grids, hex editors, and hierarchical tree components. It supports advanced visual capabilities such as 24-bit True Color, Sixel image support, and a relative-coordinate layout system that adapts to ter
TUI system for controlling the navigation flow and focus movement between interactive elements.
This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.
Defines how keyboard focus and navigation flow are managed between interactive UI elements.
react-native-video is a cross-platform video player component for React Native that enables the playback of local and remote video files using native platform decoders. It functions as an adaptive streaming player supporting HLS, DASH, and SmoothStreaming formats with automatic bitrate selection and quality adaptation. The project is distinguished by its support for industry-standard digital rights management, including Widevine, FairPlay, and PlayReady, and a plugin-based architecture that allows for the injection of custom analytics or playback logic without modifying the core library. It a
Implements directional focus management and remote control input handling for television platforms.
This project is an accessible modal component for React applications. It provides a dialog window that overlays main content and manages keyboard focus to ensure compatibility with assistive technologies. The component integrates a portal wrapper to render modal content into a separate DOM node, avoiding layout nesting issues. It uses a focus-trapping system to restrict keyboard navigation to the dialog window and prevent users from tabbing into background page content. The library covers visibility control, custom portal mounting, and visual styling for dialog windows and overlays. It also
Stores a reference to the previously active element and returns focus to it after the modal closes.
Golden Layout is a framework-agnostic UI container and web window layout manager designed to organize application interfaces into a flexible grid of draggable and resizable multi-pane windows. It functions as a hierarchical grid system that arranges page elements into a tree of nested rows and columns to create complex professional interfaces. The system acts as a multi-window workspace orchestrator, allowing components to be detached from the main layout into independent native browser windows. It also serves as a serializable layout engine that captures the arrangement of user interface com
Implements logic to assign or remove focus from specific components to trigger focus and blur events.
Reach UI is an open-source library of accessible, low-level React components designed to serve as a foundation for building design systems and interactive user interfaces. It is an accessibility-first toolkit that handles core concerns like ARIA attributes, focus management, and screen reader support automatically, without requiring developer configuration. The library is built as a collection of standalone packages, each managing its own lifecycle and dependencies, enabling granular adoption and tree-shaking. Components use a polymorphic rendering pattern, accepting an as prop to render as
Controls and tracks keyboard focus within interactive elements like modals, menus, and complex widgets.
re-frame is a functional framework for building single-page applications in ClojureScript. It provides a centralized, immutable database that serves as the single source of truth for the entire application state, enforcing a strict unidirectional data flow where events trigger state transitions and subsequent view updates. The framework distinguishes itself through a reactive signal graph and an interceptor-based middleware pipeline. By treating application logic as a sequence of data-driven events and declarative side effects, it decouples business logic from the view layer. This architectur
Sets focus to a specific HTML element after rendering to ensure the element exists before the imperative operation.
This project is an AI-powered visual canvas and collaborative whiteboard framework. It functions as a customizable vector drawing engine and a tool for converting hand-drawn interface sketches and wireframes into functional code using artificial intelligence. The system distinguishes itself through the integration of AI agents that can read, modify, and generate visual diagrams directly on the canvas. It also provides a node-based workflow editor for building automation pipelines and data processing flows by connecting multimodal components. The platform covers a broad range of capabilities,
Tracks and restores keyboard focus to active elements after modal interactions are dismissed.
OrionTV 是一个跨平台电视应用程序框架和外部 API 视频客户端。它作为一个视频播放应用程序,专为电视屏幕设计,利用通过查询外部 API 接口而不是在本地托管媒体文件来定位和流式传输内容的系统。 该项目使用 Expo 从单一代码库为多个电视操作系统生成兼容的应用程序二进制文件。其界面专门针对大屏幕进行了优化,并使用遥控器焦点管理进行导航。 该框架涵盖了第三方视频搜索、外部媒体集成和跨平台部署的功能。它利用 React Native 渲染一个能够适应不同电视平台布局和行为的用户界面。
Implements a focus management system optimized for D-pad and remote control navigation on TV screens.
Open-UI 是一套 Web UI 标准规范和一个标准化的 UI 组件库。它为通用 UI 组件、行为和可访问性要求提供了技术定义,旨在通过一系列 Web 语言提案确保跨浏览器兼容性。 该项目具有 Web 可访问性 Polyfill 和可扩展控件 Polyfill,在缺乏原生浏览器支持的环境中提供现代 UI 控件功能。它包括一个浏览器兼容性套件,以验证组件是否满足定义的行为和可访问性要求。 该库涵盖了广泛的界面元素,包括可搜索的组合框、交互式菜单系统、多句柄范围输入和可自定义的选择菜单。它还包括布局和导航组件,如手风琴、模态框、面包屑和轮播图。 该系统利用声明式行为关联和基于事件的动作分发来执行组件逻辑,同时通过 CSS 伪元素暴露内部状态以进行视觉样式设置。
Controls whether an element and its subtree are keyboard-focusable while retaining other forms of interactivity like mouse clicks.
SmartTubeLegacy 是一款适用于 Android TV 和机顶盒的开源 YouTube 客户端。它作为一个针对大屏幕优化的媒体播放器,为流媒体视频内容提供了专门的界面。 该应用通过绕过广告和赞助片段,实现了无广告的媒体消费。它支持高达 4K 的高分辨率流媒体,利用硬件加速视频解码来优化电视硬件上的性能。 该系统包括一个专为通过标准电视遥控器导航而设计的 leanback 界面。它还具有用于同步用户资料的内部账户管理功能,以及用于安装新应用版本的自动更新机制。
Implements a focus management system optimized for D-pad and television remote control navigation.
RmlUi 是一个跨平台 UI 渲染器和中间件库,支持使用 HTML 和 CSS 的子集创建用户界面。它作为一个渲染无关层,旨在将 Web 标准布局和样式集成到自定义游戏引擎和嵌入式应用中。 该框架通过集成 Lua 进行动态逻辑和控制,以及用于渲染 SVG 图像和 Lottie 动画的专用工具包而脱颖而出。它利用可插拔的渲染后端,将几何生成与最终显示解耦,从而能够为各种图形管道生成纹理几何体。 该系统涵盖了广泛的功能,包括盒模型布局引擎、层叠样式引擎,以及用于同步模型与视图的数据绑定。它为鼠标、键盘和触摸提供全面的输入管理,以及用于基于区域的文本翻译的国际化服务。其他功能包括高 DPI 缩放、基于层的 Alpha 合成,以及一系列交互式组件(如范围滑块和下拉菜单)。 该源码可编译为 WebAssembly 二进制文件,以便在 Web 浏览器中执行。
Provides controls to determine if an element can receive focus or accept user-initiated click events.
toolong 是一个终端日志查看器和 TUI 日志管理器,专为监控实时日志流和导航大型日志文件而设计。它作为日志聚合器和 JSONL 格式化程序,能够通过自动检测时间戳将多个日志文件合并为单一的时间顺序视图。 该应用程序支持通过美化打印 JSONL 文件和对常见 Web 服务器日志模式应用语法高亮来可视化结构化数据。它通过虚拟大小的可滚动视图高效处理大规模数据,允许用户打开压缩日志或任意大小的文件,而无需将整个文档加载到内存中。 该系统包括用于尾随日志流、执行模糊文本匹配以及通过基于栈的屏幕模型管理导航的功能。它还提供了一个用于发现应用程序功能的命令面板,并支持可点击链接和悬停工具提示等交互元素。
Programmatically shifts input focus between individual interactive UI elements.
这是一个 jQuery 插件,为 input 和 textarea 字段提供 HTML5 placeholder 模拟。它作为一个兼容性库,确保在不同 Web 浏览器(特别是那些不支持原生 HTML5 placeholder 属性的浏览器)中保持一致的占位符行为。 该工具通过修改表单元素在用户输入前显示提示文本的方式,扩展了 DOM 输入字段的功能。它作为浏览器兼容层,为现代 HTML5 表单功能提供旧版浏览器支持。 该实现涵盖了浏览器特性检测、针对 focus 和 blur 事件的事件驱动状态切换,以及原始输入值的恢复。它利用 jQuery 进行元素选择和 DOM 操作,通过自定义属性注入临时文本。
Toggles between showing placeholder hints and allowing user input by listening for focus and blur events.
This project is a native Android TV Bilibili client and third-party video player designed for streaming and browsing video content on large screens. It functions as a television-centric media application that enables users to access Bilibili content through an interface optimized for distance and remote control navigation. The application implements remote-optimized navigation to map hardware input to UI focus patterns and utilizes adaptive bitrate switching to adjust video quality based on network conditions. It employs a reactive state management architecture and a type-safe network layer t
Implements a focus management system optimized for D-pad and remote control navigation on television screens.
Eloquent-JavaScript is a comprehensive JavaScript programming textbook and interactive coding tutorial designed for web development education. It serves as both a language reference and a practical guide, combining theoretical lessons with an environment where learners can execute and modify code examples. The project focuses on the fundamental principles of the JavaScript language, including lexical scoping, prototype-based inheritance, and asynchronous patterns. It provides detailed instruction on object-oriented programming, functional programming, and the use of the browser DOM to create
Demonstrates how to detect when a user enters or leaves a form field using focus and blur events.
This project is an Apple TV video application and API client for Bilibili, designed to stream video content with support for HDR and subtitles. It serves as a specialized media player that integrates with Bilibili services to provide video discovery and user account management. The application features a real-time danmaku renderer that overlays scrolling user comments on top of video playback. It includes a plugin-based player system for adding custom overlays and behavioral modifications, as well as tools for adjusting playback speed and skipping sponsored segments. The system covers adapti
Manages user interaction through a structured tree of focusable elements designed for remote-control navigation.
This library provides a flexible dropdown menu component for building single and multi-select inputs within web applications. It is designed to support accessible data entry through keyboard navigation and screen reader compatibility, while maintaining interface responsiveness when handling large datasets. The component distinguishes itself through a high degree of configurability, allowing developers to replace default templates, icons, and labels with custom visual elements. It utilizes virtual scrolling to render only visible items, ensuring performance remains consistent even when managin
Exposes internal input elements to the parent scope to enable programmatic management of keyboard focus and navigation states.