10 مستودعات
Dynamic modification of CSS classes to reflect the current state of UI components.
Distinct from CSS Utility Classes: Focuses on the runtime toggling of classes for state representation rather than static utility classes or build-time prefixing.
Explore 10 awesome GitHub repositories matching user interface & experience · State-Based CSS Toggling. Refine with filters or upvote what's useful.
ScrollReveal is a client-side JavaScript library used to trigger CSS animations and transitions for page elements as they enter the browser viewport. It functions as a DOM element animation trigger and a simplified wrapper for the Intersection Observer API to coordinate visual entrance effects and staggered animations based on the user's scroll position. The library focuses on scroll-driven motion and reveal effects, enabling the execution of visual changes and animations automatically as a user navigates a website. It manages the reveal of page content to create movement and progression with
Triggers animations by toggling CSS classes based on the visibility state of elements.
Hamburgers is a CSS component library providing a collection of animated navigation icons. These components use CSS transitions to toggle between collapsed and active states, serving as reusable style definitions for interactive user interface elements. The library features customizable UI icons where colors and dimensions are controlled via CSS configuration variables. This allows for the modification of icon appearance and style during the build process. The project covers the implementation of animated menu navigation and responsive web interface design through the use of frontend visual
Uses dynamic CSS class toggling to switch the menu icon between collapsed and active states.
Bootstrap-switch هو إضافة jQuery تحول مربعات الاختيار وأزرار الراديو القياسية في HTML إلى مفاتيح تبديل مرئية. يعمل كمفتاح إدخال للنماذج يوفر تفاعل تبديل منزلق كبديل لعناصر الإدخال الثنائية التقليدية. صُمم هذا المكون خصيصاً لواجهات Bootstrap، مما يسمح بتخصيص صفحات الويب التي تتبع نظام تصميم إطار عمل Bootstrap CSS. يعزز نماذج الويب عن طريق تحويل عناصر الإدخال الأساسية إلى مفاتيح تفاعلية لتحسين الوضوح المرئي للإعدادات والتفضيلات الثنائية.
Dynamically modifies CSS classes to reflect the checked or unchecked state of the input.
Bespoke هو إطار عمل خفيف لـ JavaScript مصمم لإنشاء عروض تقديمية متسلسلة على الويب. يعمل كمتحكم في الشرائح يعتمد على DOM ومحرك تنقل يدير ظهور وتنسيق عناصر HTML لإنشاء تدفقات العرض التقديمي. تم بناء إطار العمل حول بنية تعتمد على الإضافات (plugins) التي تسمح بتوسيع السلوك الأساسي. يتيح هذا النظام حقن منطق مخصص في سير عمل التنقل من خلال اعتراض وتعديل أحداث النظام، بما في ذلك القدرة على إلغاء إجراءات محددة. تغطي مجموعة الأدوات تعريف عناصر المحتوى وإدارة الحالة، باستخدام محددات CSS لتحديد وحدات المحتوى وتبديل الفئات (classes) تلقائياً بناءً على حالة العنصر. كما يتتبع الموقع الحالي ضمن تسلسل خطي لتنسيق الانتقالات بين العناصر.
Automatically applies and removes CSS classes on DOM elements based on their active or inactive state.
bespoke.js هو أداة عرض تعتمد على DOM وإطار عمل HTML يحول عناصر الويب الحالية إلى شرائح عرض قابلة للتنقل. يعمل كمنسق لعروض الويب، باستخدام محرك JavaScript لإدارة انتقالات الشرائح والحالة من خلال CSS وعناصر تحكم API برمجية. تم بناء المشروع كمحرك شرائح يعتمد على الإضافات، مما يسمح للمطورين بتوسيع السلوك الأساسي عبر اعتراض أحداث التنقل وحقن منطق دورة حياة مخصص. يتيح هذا النظام النمطي إنشاء أطر عمل عرض مخصصة عن طريق إضافة منطق سلوكي محدد أو إدارة الحالة. تغطي مجموعة الأدوات إدارة التنقل في DOM وأدوات العرض للواجهة الأمامية. يتضمن ذلك القدرة على تصفية عناصر الشرائح عبر محددات CSS، وإدارة الانتقالات بين العروض، واستخدام هيكل مشروع مخصص ونظام بناء للنشر على استضافات الويب.
Uses dynamic CSS class toggling to manage the visibility and layout of slides based on the active index.
This project is a collection of experimental frontend prototypes, comprising a creative web layout gallery, a CSS user interface component library, and a visual experiment lab. It serves as an interactive animation showcase for holographic effects, audio-visual synthesis, and dynamic state transitions. The repository features specialized implementations of interactive media, including physics-based particle systems, real-time audio-visual synthesis, and an interactive sketching system. It also includes tools for content generation, such as text-based image reconstruction and a web-based prese
Drives visual transformations by dynamically toggling CSS classes to reflect internal UI state changes.
ScrollTrigger هي مكتبة JavaScript ومدير لأحداث التمرير في DOM مصممة لتنفيذ استدعاءات (callbacks) وتبديل فئات CSS عندما تدخل العناصر إلى إطار عرض المتصفح أو تخرج منه. تعمل كواجهة عالية المستوى لـ Intersection Observer API ونظام لبدء التحولات المرئية والمهام غير المتزامنة بناءً على موقع العنصر بالنسبة لإطار العرض. تسمح الأداة بتحديد نقاط تشغيل دقيقة باستخدام إزاحات البكسل أو النسبة المئوية للتحكم بدقة في وقت إطلاق الأحداث. وتدير الرسوم المتحركة المرئية القائمة على التمرير وعمليات التحميل الكسول (lazy loading) من خلال تتبع عتبات الرؤية. توفر المكتبة قدرات لمراقبة نشاط التمرير، مثل تتبع وقت بدء التمرير أو توقفه أو تغيير اتجاهه. كما تدعم تشغيل أحداث إطار العرض لتشغيل وظائف مخصصة أو وعود (promises) عند عبور العناصر لإحداثيات محددة.
Dynamically modifies CSS classes on elements to reflect their current visibility state during scrolling.
current-device is a JavaScript device detection library used to identify operating systems, device categories, and screen orientations within a web browser environment. It serves as a browser environment detector and client-side mapper that translates browser metadata and user-agent strings into predefined device labels and hardware categories. The library provides tools for executing specific JavaScript logic based on the detected mobile or desktop platform. It also functions as a conditional styling tool and document body class injector, applying descriptive HTML classes to enable device-sp
Dynamically modifies HTML element classes to adapt layouts for portrait versus landscape viewing modes.
Fomantic-UI is a component-based CSS library and frontend design system used to build consistent, responsive user interfaces. It functions as a CSS framework and responsive UI toolkit, providing a structured approach to managing typography, color palettes, and spacing. The project enables the development of custom UI components and the implementation of unified design systems across web applications. It provides a variable-driven theme compilation process to customize visual styles and a build-time system to compile selected components into production CSS bundles. The toolkit covers a broad
Dynamically modifies CSS classes on DOM elements to reflect and update the current state of UI components.
air-datepicker is a JavaScript date picker component and client-side date selector. It provides a web UI calendar widget that allows users to pick specific dates and ranges through a graphical interface. The component integrates into web forms to ensure valid date input formats and can be used to embed a date picker attached to text inputs or as an inline calendar display. The tool covers date selection UI and calendar input integration to prevent user input errors during web form date validation.
Manages visual states of dates and navigation elements by adding or removing CSS classes.