44 dépôts
Mechanisms for injecting CSS variables or classes based on component state.
Distinct from Component Styling: Focuses on state-driven dynamic styling, distinct from static style overrides.
Explore 44 awesome GitHub repositories matching user interface & experience · Dynamic Styling Systems. Refine with filters or upvote what's useful.
styled-components is a CSS-in-JS styling library and tool for React components. It provides a cross-platform UI styling API and a dynamic theme management system to maintain consistent design tokens and encapsulate visual logic, preventing global scope conflicts. The library utilizes a unified interface that works across both web environments and native mobile frameworks. It enables the definition of styles using JavaScript and TypeScript template literals, allowing CSS to be bound directly to components. The system supports dynamic prop-based styling, style inheritance, and the creation of
Enables dynamic CSS generation based on React component props and state.
Ant Design Pro is a comprehensive starter kit and administrative framework for building enterprise-level admin dashboards and professional user interfaces. It provides a structured project foundation and a set of React admin templates, including pre-defined layout blocks and routing configurations. The framework distinguishes itself by providing a built-in frontend mocking environment and mock-service middleware to simulate backend API responses during development. It also features integrated conversational AI components and assistant pages for embedding intelligent interactions directly into
Implements a styling architecture that combines theme tokens, CSS Modules, and utility-first CSS.
Lit is a library for building lightweight, interoperable web components. It provides a base class that leverages native browser APIs to encapsulate state, logic, and styles, allowing developers to create custom elements that function consistently across any modern web project. The framework distinguishes itself through a reactive property system that automatically triggers efficient, batched DOM updates. By utilizing tagged template literals, it defines declarative UI structures that are compiled into optimized update instructions. Its architecture emphasizes modularity through a reactive con
Updates element classes and inline styles programmatically based on component state using dedicated template directives.
Leptos is a full-stack Rust web framework designed for building reactive applications that share logic and types between the server and the browser. It provides a comprehensive toolkit for developing web interfaces where specific DOM nodes update automatically in response to changes in underlying reactive signals, rather than re-rendering entire component trees. The framework distinguishes itself through a fine-grained reactivity model that tracks dependencies at the individual data point level. It utilizes compile-time template transformation to convert declarative HTML-like syntax into opti
Injects scoped styles dynamically during execution to style components based on application logic.
This project is a development framework that enables the creation of cross-platform mobile mini programs using the component-based architecture and reactive data binding of Vue.js. It functions as a build system that transforms web-oriented component code into native-compatible templates and logic, allowing developers to build modular user interfaces that run within restricted mobile environments. The framework distinguishes itself through a sophisticated build pipeline that deconstructs single-file components into platform-specific templates, logic, and style files. It employs compile-time t
Applies dynamic styles based on component state using class and style expressions.
huashu-design is a design system infrastructure and a set of specialized design engines for high-fidelity HTML prototyping, quality evaluation, and presentation conversion. It provides tools for generating interactive single-file HTML mockups, frame-based motion design, and a visual evaluator that analyzes design quality across five dimensions using radar charts. The system distinguishes itself through a translation pipeline that converts HTML slide decks into editable PowerPoint and PDF objects rather than flat images. It includes a motion design engine that uses a time-slice model to render
Updates visual attributes in real-time by mapping a control interface to CSS variables.
UnoCSS is an atomic CSS engine and utility-first framework that generates styles on-demand based on the specific classes used in your source code. By scanning your project files during the build process, it produces only the CSS necessary for your application, effectively minimizing bundle size and eliminating unused styles. The engine distinguishes itself through a highly modular, configuration-driven architecture that allows for deep customization of design tokens, rules, and presets. It supports advanced styling patterns such as attribute-based styling, tag-based styling, and dynamic varia
Embeds generated utility CSS directly into component style blocks to eliminate external stylesheet dependencies.
xbar is a macOS menu bar status tool and system extension utility that displays the output of shell scripts and programs directly in the system menu bar. It functions as a script-based menu bar manager that runs local and third-party scripts to create real-time status indicators and dynamic dropdown menus. The utility enables the creation of system monitoring dashboards and custom shortcut launchers by executing external programs as subprocesses. It transforms plain text script output into formatted menu items and supports interactive dropdown menus, where user interactions can trigger shell
Modifies the appearance of menu items by parsing specific metadata tags provided in the script output.
This project is a styling library and framework designed for component-based architectures, enabling developers to define and manage visual styles directly within JavaScript or TypeScript. It functions as a styling engine that generates unique class names from style definitions, ensuring encapsulated, predictable, and maintainable visual presentation across applications. By integrating with component logic, it allows for the creation of reusable UI elements with styles defined through template literals or object syntax. The library distinguishes itself through a comprehensive suite of build-t
Generates unique CSS class names and injects style rules dynamically during application execution.
Sass is a stylesheet compilation engine and CSS preprocessor that extends standard CSS with variables, nested rules, mixins, and functions. It functions as a comprehensive design system tool, enabling developers to organize complex stylesheets into modular, reusable components while automating the transformation of advanced syntax into browser-compatible CSS. The project distinguishes itself through its sophisticated build automation and language-level extensibility. It provides robust support for programmatic style generation, including conditional logic, iterative loops, and unit-aware math
Uses interpolation to dynamically inject variables and function results into selector names.
Auto-animate is a framework-agnostic JavaScript animation library used to automatically animate the entry, exit, and movement of elements within a document. It functions as a transition tool that adds smooth motion to web application elements to prevent abrupt layout jumps during content changes. The utility is designed to be reduced motion compliant, automatically detecting and respecting system-level accessibility settings to disable animations for users with motion sensitivities. It also features a plugin system that allows the replacement of default fade and scale transitions with custom
Allows the programmatic injection of custom CSS keyframes to override default transition logic.
Mapbox GL JS est un moteur de rendu cartographique WebGL et un framework de carte web interactif utilisé pour rendre des tuiles vectorielles, de l'imagerie raster et du terrain 3D dans le navigateur. Il fonctionne comme une bibliothèque de cartes à tuiles vectorielles et un outil de visualisation de données géospatiales, utilisant des shaders accélérés par GPU pour transformer les données géospatiales en cartes interactives. Le projet se distingue par l'intégration de couches WebGL personnalisées directement dans le pipeline de rendu et l'utilisation d'expressions basées sur les données pour mapper les propriétés des entités aux attributs visuels. Il prend en charge le chargement de données spécialisées via PMTiles et fournit une gestion des cartes hors ligne via des packs locaux et des bases de données. Le moteur couvre un large éventail de capacités, y compris le rendu de terrain 3D et de bâtiments avec éclairage et ombres, le suivi de la localisation de l'utilisateur en temps réel et des animations de caméra programmables. Il fournit des requêtes spatiales pour la récupération d'entités, le filtrage dynamique et un système d'interface utilisateur pour les marqueurs HTML et les fenêtres contextuelles d'information. La bibliothèque inclut des configurations de build pour générer des bundles qui respectent les restrictions de Content Security Policy pour les web workers.
Provides a data-driven styling system to map feature properties to visual attributes like color and size.
jsoneditor is a web-based JSON editor component designed for viewing, editing, and formatting structured data. It provides a user interface for managing JSON through multiple rendering modes, including tree, form, and code views. The project is distinguished by its ability to process and visualize exceptionally large datasets, utilizing virtualized memory management to handle JSON files up to 500 MiB without crashing the browser. It also includes a specialized syntax repair tool to convert malformed text into valid JSON and a data transformer for filtering, sorting, and reshaping documents vi
Applies dynamic CSS classes or colors to nodes based on their properties, values, or validation status.
React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme
Updates element appearance by passing style objects or class names to enable conditional or data-driven visual changes.
Maplibre GL JS is a WebGL map rendering engine and vector tile map library used to create interactive web maps. It serves as a web-based GIS visualization tool and an interactive map interface framework for rendering geographic data and vector tiles on web pages. The library provides capabilities for 3D terrain rendering and the integration of custom 3D content. It supports complex geospatial data visualization through the use of heatmaps, clusters, and 3D extrusions, while allowing for custom map styling and environmental effect customization. The system covers a broad range of functional a
Assigns colors and visual properties to map features dynamically based on their underlying geospatial attributes.
clsx is a JavaScript utility for constructing space-separated CSS class strings. It functions as a logic-based string builder that merges strings and objects into a single string by evaluating the truthiness of provided values. The utility orchestrates the generation of HTML class attributes by filtering out null or undefined values. It enables conditional styling by combining static and dynamic classes, which allows for the management of UI styling based on state or interaction. The project handles a variety of input structures, including arrays and objects, to produce a unified list of act
Facilitates dynamic UI styling by switching CSS classes on and off based on component state.
StyleX is a type-safe CSS-in-JS library and atomic CSS compiler that transforms JavaScript style definitions into optimized static CSS and type-safe class names. It functions as a multi-framework styling tool, generating standard CSS assets compatible with various JavaScript UI frameworks and server components. The system includes a CSS design token system and theme engine for managing shared constants and composing visual schemes. It allows for the creation of light, dark, and custom themes through variable overrides and token inheritance. The project covers component styling through object
Changes the visual appearance of components based on state, props, or shared context values.
This project is a geospatial data rendering engine and OpenStreetMap road network visualizer. It functions as a vector map visualization tool that imports geocoded area data and converts road layouts into visual layers for digital or physical output. The system enables the creation of generative map art and stylized images intended for physical production via pen-plotters or laser cutters. It allows for the manipulation of line widths and colors of city streets to produce custom visual representations of urban environments. The engine provides capabilities for urban road visualization, geogr
Assigns visual properties like color and width to roads based on data attributes and categories.
IBAnimatable is a set of visual design tools for prototyping bespoke interface elements, motion effects, and navigation transitions within a graphical environment. It provides a designer for creating and prototyping animations directly within the Apple Interface Builder environment and a system for building custom interface components through a visual attributes panel. The project distinguishes itself by offering a visual interface transition editor for configuring screen navigation and gesture-driven transitions without manual coding. It includes a prototyping sandbox for testing interaction
Configures navigation and presentation styles through a graphical attributes panel.
Calligraphy is an Android typography framework and custom font manager used to map custom font files to text views through hierarchical style resolution and global default configurations. It provides a system for defining global default fonts and fallback priorities across an entire Android application. The project manages font assignments by evaluating a priority chain of view attributes, styles, text appearances, and themes. This allows for the injection of custom typefaces into Android text components and the mapping of font assets to theme attributes to maintain a uniform visual identity.
Allows mapping custom font files to specific UI elements using XML attributes instead of manual code.