# UI components

Reusable user-interface elements with defined properties, events, child slots, and methods.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## New in Symfony 8.2: Form Improvements

DevFeed: [New in Symfony 8.2: Form Improvements](<https://devfeed.tech/articles/new-in-symfony-8-2-form-improvements-130042.md>)

Original publisher: [Read original article](<https://symfony.com/blog/new-in-symfony-8-2-form-improvements>)

Author: Javier Eguiluz

Published: 2026-11-12T08:06:00Z

Content type: release

Language: en

Sources: [Symfony](<https://devfeed.tech/sources/symfony-blog.md>)

Topics: [Symfony](<https://devfeed.tech/topics/symfony.md>), [Forms](<https://devfeed.tech/topics/forms.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [Data validation](<https://devfeed.tech/topics/data-validation.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>)

Tags: [component](<https://devfeed.tech/tags/component.md>), [form](<https://devfeed.tech/tags/form.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [symfony](<https://devfeed.tech/tags/symfony.md>)

### AI overview

Symfony 8.2 adds several Form component features. `BoundsType` combines lower and upper bounds of one inner type, can compare supported values or use a custom comparator, and reports range errors on the lower bound. Form flows can nest steps and skip a step with its children; nesting changes navigation while data still maps to the same object. The new `POST_VALIDATE` event runs throughout the form tree after validation, enabling reusable types to inspect root validity; controllers should still check `isValid()` after `handleRequest()`. `allow_array_submission` lets `PRE_SUBMIT` listeners transform array input, but is false by default, and the listener must have priority above 0. Other additions fix the `form_attr` target and allow a custom form ID, add per-choice help for expanded choices, and sort choices by translated label using `intl`'s `Collator`. The excerpt also notes password-hasher APIs deprecated for removal in Symfony 9.0.

### Source excerpt

Symfony 8.2 brings many improvements to the Form component, from new form types and options to more flexible multi-step forms and form events. Defining Ranges with BoundsType...

## Introducing Syncfusion A2UI: Build Agent-Driven Interfaces with Reusable UI Components

DevFeed: [Introducing Syncfusion A2UI: Build Agent-Driven Interfaces with Reusable UI Components](<https://devfeed.tech/articles/introducing-syncfusion-a2ui-build-agent-driven-interfaces-with-reusable-ui-components-63451.md>)

Original publisher: [Read original article](<https://www.syncfusion.com/blogs/post/a2ui-ai-powered-application>)

Author: Siddhartha Devaraj

Published: 2026-10-01T12:03:06Z

Content type: article

Language: en

Sources: [Syncfusion](<https://devfeed.tech/sources/syncfusion-blogs.md>)

Topics: [a2ui](<https://devfeed.tech/topics/a2ui.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [a2ui](<https://devfeed.tech/tags/a2ui.md>), [a2ui-ai-ai-agents-application-modernization-enterprise-applications-syncfusion-ui-development](<https://devfeed.tech/tags/a2ui-ai-ai-agents-application-modernization-enterprise-applications-syncfusion-ui-development.md>), [a2ui-components](<https://devfeed.tech/tags/a2ui-components.md>), [a2ui-composer](<https://devfeed.tech/tags/a2ui-composer.md>), [agent-driven-user-interfaces](<https://devfeed.tech/tags/agent-driven-user-interfaces.md>), [agentic-ui](<https://devfeed.tech/tags/agentic-ui.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-powered-applications](<https://devfeed.tech/tags/ai-powered-applications.md>), [ai-powered-user-experiences](<https://devfeed.tech/tags/ai-powered-user-experiences.md>), [application-modernization](<https://devfeed.tech/tags/application-modernization.md>), [declarative-ui-composition](<https://devfeed.tech/tags/declarative-ui-composition.md>), [enterprise-ai](<https://devfeed.tech/tags/enterprise-ai.md>), [enterprise-ai-applications](<https://devfeed.tech/tags/enterprise-ai-applications.md>), [enterprise-applications](<https://devfeed.tech/tags/enterprise-applications.md>), [syncfusion](<https://devfeed.tech/tags/syncfusion.md>), [ui-development](<https://devfeed.tech/tags/ui-development.md>), [user-interface-composition](<https://devfeed.tech/tags/user-interface-composition.md>)

### AI overview

Syncfusion A2UI Preview lets AI agents describe interfaces through structured definitions that applications validate and render using supported reusable components. The article explains the runtime flow, component catalog, and enterprise use cases. A2UI Composer provides an optional visual workflow for designing and refining definitions before integrating them into an application.

### Source excerpt

Explore how Syncfusion A2UI helps AI agents describe interactive interfaces that applications render with reusable Syncfusion components.

## Building Monetized Live Streaming Experiences: A Developer's Guide to Interactive Web Video

DevFeed: [Building Monetized Live Streaming Experiences: A Developer's Guide to Interactive Web Video](<https://devfeed.tech/articles/building-monetized-live-streaming-experiences-a-developer-s-guide-to-interactive-web-video-59908.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/building-monetized-live-streaming-experiences-a-developer-s-guide-to-interactive-web-video/>)

Author: TEAM SITEPOINT

Published: 2026-09-24T13:13:13Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [coding](<https://devfeed.tech/tags/coding.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [latency](<https://devfeed.tech/tags/latency.md>), [live-streaming](<https://devfeed.tech/tags/live-streaming.md>), [monetization](<https://devfeed.tech/tags/monetization.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

A developer guide to building interactive, monetized live-streaming web applications. It explains how to combine video delivery with event-driven JavaScript, responsive UI components, analytics, accessibility, and monetization features, while separating media delivery from real-time interaction systems.

### Source excerpt

null Continue reading Building Monetized Live Streaming Experiences: A Developer's Guide to Interactive Web Video on SitePoint.

## Plugins Library: Ready-Made Plugins for Platform Teams

DevFeed: [Plugins Library: Ready-Made Plugins for Platform Teams](<https://devfeed.tech/articles/plugins-library-ready-made-plugins-for-platform-teams-58767.md>)

Original publisher: [Read original article](<https://www.port.io/blog/plugins-library>)

Author: Naama Ben Oliel Ronen

Published: 2026-09-23T10:49:45Z

Content type: release

Language: en

Sources: [Port](<https://devfeed.tech/sources/developer-experience-platform-engineering-blog-port.md>)

Topics: [internal developer portal](<https://devfeed.tech/topics/internal-developer-portal.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>)

Tags: [dashboards](<https://devfeed.tech/tags/dashboards.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [github](<https://devfeed.tech/tags/github.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-tools](<https://devfeed.tech/tags/mcp-tools.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [platform](<https://devfeed.tech/tags/platform.md>), [platform-teams](<https://devfeed.tech/tags/platform-teams.md>), [plugins](<https://devfeed.tech/tags/plugins.md>)

### AI overview

Port has added a Plugins Library to its Plugins Manager, allowing platform teams to browse, read prerequisites, and install ready-made plugins within Port. The library includes DORA dashboards, engineering surveys, dependency trees, compliance scorecards, TechDocs, and calendar features, with MCP tools and an AI-agent skill supporting the workflow.

### Source excerpt

The Plugins Library brings ready-made plugins into Port: DORA dashboards, dependency trees, scorecard views, calendar, surveys, and more.

## Two vs. Three-State Color Theme Toggles

DevFeed: [Two vs. Three-State Color Theme Toggles](<https://devfeed.tech/articles/two-vs-three-state-color-theme-toggles-50973.md>)

Original publisher: [Read original article](<https://blog.master.dev/two-vs-three-state-color-theme-toggles/>)

Author: Chris Coyier

Published: 2026-09-03T14:54:53Z

Content type: opinion

Language: en

Sources: [Master.dev Blog RSS Feed](<https://devfeed.tech/sources/master-dev-blog-rss-feed.md>)

Topics: [UI components](<https://devfeed.tech/topics/ui-components.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [Web](<https://devfeed.tech/topics/web.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [dark-theme](<https://devfeed.tech/tags/dark-theme.md>), [google](<https://devfeed.tech/tags/google.md>), [requirements](<https://devfeed.tech/tags/requirements.md>), [the-beat](<https://devfeed.tech/tags/the-beat.md>), [themes](<https://devfeed.tech/tags/themes.md>), [toggle](<https://devfeed.tech/tags/toggle.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-controls](<https://devfeed.tech/tags/ui-controls.md>), [users](<https://devfeed.tech/tags/users.md>), [ux](<https://devfeed.tech/tags/ux.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

An opinion piece discusses whether dark and light color-theme controls should use two states, three states, or no manual states. It compares these approaches based on users' system preferences, audience, requirements, and available resources.

### Source excerpt

There was a fun and intellectual debate recently about UI controls for dark/light mode. I think the story starts with Modern Web Guidance skills from Google, which recommend using a two-state toggle, apparently written by Lea Verou, and Bramus Van Damme takes issue with it. Lea explained her thinking in detail, which is a great [...]

## Native interactive elements

DevFeed: [Native interactive elements](<https://devfeed.tech/articles/native-interactive-elements-89065.md>)

Original publisher: [Read original article](<https://specification.website/spec/accessibility/native-interactive-elements/>)

Author: Joost de Valk

Published: 2026-07-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [The Website Specification](<https://devfeed.tech/sources/the-website-specification.md>)

Topics: [interactive web design](<https://devfeed.tech/topics/interactive-web-design.md>), [HTML](<https://devfeed.tech/topics/html.md>), [aria](<https://devfeed.tech/topics/aria.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [accessible](<https://devfeed.tech/tags/accessible.md>), [account](<https://devfeed.tech/tags/account.md>), [activation](<https://devfeed.tech/tags/activation.md>), [browser](<https://devfeed.tech/tags/browser.md>), [button](<https://devfeed.tech/tags/button.md>), [css](<https://devfeed.tech/tags/css.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [elements](<https://devfeed.tech/tags/elements.md>), [implement](<https://devfeed.tech/tags/implement.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [recommended](<https://devfeed.tech/tags/recommended.md>)

### AI overview

This tutorial explains why native HTML interactive elements such as buttons, links, details, and dialogs are preferable to clickable generic elements. It covers their built-in keyboard behavior, focus management, accessibility semantics, and browser features, with implementation examples for disclosures, accordions, modal dialogs, buttons, and links.

### Source excerpt

Prefer native HTML interactive elements -- , , /, -- over divs with click handlers. You get keyboard support, focus management, and assistive-tech semantics for free.

## Taking control of toolbar items in SwiftUI

DevFeed: [Taking control of toolbar items in SwiftUI](<https://devfeed.tech/articles/taking-control-of-toolbar-items-in-swiftui-51715.md>)

Original publisher: [Read original article](<https://swiftwithmajid.com/2026/06/23/taking-control-of-toolbar-items-in-swiftui/>)

Author: Majid Jabrayilov (cmecid@gmail.com)

Published: 2026-06-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Swift with Majid](<https://devfeed.tech/sources/swift-with-majid.md>)

Topics: [SwiftUI](<https://devfeed.tech/topics/swiftui.md>), [Toolbar](<https://devfeed.tech/topics/toolbar.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [navigation](<https://devfeed.tech/topics/navigation.md>)

Tags: [ios](<https://devfeed.tech/tags/ios.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mastering-swiftui-views](<https://devfeed.tech/tags/mastering-swiftui-views.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>), [swift-ios-development-apple-watch-iphone-ipad-swiftui-macos-uikit-dev-wwdc-tutorial-guide-redux-tea](<https://devfeed.tech/tags/swift-ios-development-apple-watch-iphone-ipad-swiftui-macos-uikit-dev-wwdc-tutorial-guide-redux-tea.md>), [swiftui](<https://devfeed.tech/tags/swiftui.md>), [toolbar](<https://devfeed.tech/tags/toolbar.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-controls](<https://devfeed.tech/tags/ui-controls.md>)

### AI overview

A SwiftUI tutorial covering new toolbar APIs for controlling item visibility, overflow groups, pinned trailing placement, and toolbar minimization across macOS, iOS, and iPadOS.

### Source excerpt

I already wrote about Toolbar APIs a few times because it is one of the most important and widely used APIs in SwiftUI. Toolbars play a crucial role, especially with the recent update to the design language where we have a content layer and the UI controls layer above it. This week, we will talk about new APIs allowing us to control toolbar appearance even more.

## Rebuilding the Prisma Docs: A New Framework, Design, and Structure

DevFeed: [Rebuilding the Prisma Docs: A New Framework, Design, and Structure](<https://devfeed.tech/articles/rebuilding-the-prisma-docs-a-new-framework-design-and-structure-47762.md>)

Original publisher: [Read original article](<https://www.prisma.io/blog/rebuilding-the-prisma-docs>)

Author: Aidan McAlister; Mike Hartington

Published: 2026-03-09T00:00:00Z

Content type: article

Language: en

Sources: [Prisma](<https://devfeed.tech/sources/prisma-blog.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [Prisma](<https://devfeed.tech/topics/prisma.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [structure](<https://devfeed.tech/topics/structure.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [components](<https://devfeed.tech/tags/components.md>), [docs](<https://devfeed.tech/tags/docs.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [framework](<https://devfeed.tech/tags/framework.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [prisma](<https://devfeed.tech/tags/prisma.md>), [search](<https://devfeed.tech/tags/search.md>), [structure](<https://devfeed.tech/tags/structure.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

The Prisma team describes rebuilding its documentation site with Fumadocs, reorganizing and deduplicating content, standardizing code examples, improving quality tooling, and adding search and AI chat integration.

### Source excerpt

Learn how the Prisma team rebuilt their docs from scratch using Fumadocs, improved search with Mixedbread, and launched without disrupting day-to-day work.

## Building EGP Cards at Merpay: Lessons from a Frontend Internship

DevFeed: [Building EGP Cards at Merpay: Lessons from a Frontend Internship](<https://devfeed.tech/articles/building-egp-cards-at-merpay-lessons-from-a-frontend-internship-56806.md>)

Original publisher: [Read original article](<https://engineering.mercari.com/en/blog/entry/20251225-building-egp-cards-at-merpay/>)

Author: Yusaku Miyata

Published: 2025-12-25T10:00:01Z

Content type: article

Language: en

Sources: [Mercari Engineering](<https://devfeed.tech/sources/mercari-engineering.md>)

Topics: [Front end](<https://devfeed.tech/topics/frontend.md>), [server-driven-ui](<https://devfeed.tech/topics/server-driven-ui.md>), [No-code](<https://devfeed.tech/topics/no-code.md>), [JSON](<https://devfeed.tech/topics/json.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [dry-run](<https://devfeed.tech/topics/dry-run.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [dry-run](<https://devfeed.tech/tags/dry-run.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [internship](<https://devfeed.tech/tags/internship.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [no-code](<https://devfeed.tech/tags/no-code.md>), [server-driven-ui](<https://devfeed.tech/tags/server-driven-ui.md>), [ui-components](<https://devfeed.tech/tags/ui-components.md>)

### AI overview

A frontend internship at Merpay involved improving EGP Cards, a no-code tool for creating and publishing card-based UI components across Web, iOS, and Android. The article describes its Server-Driven UI architecture, JSON-based content storage, and a Dry Run feature that uses mock data to preview behavior before API calls or device testing.

### Source excerpt

Building EGP Cards at Merpay: Lessons from a Frontend Internship Hello, my name is @Yusaku (Yusaku Miyata), and I'm currently interning as a Frontend Engineer on the Growth Platform team at Merpay. This article is part of the Merpay & Mercoin Advent Calendar 2025, and I am honored to write the entry for Day 25. [...]

## Supercharging User Engagement: How Mercari is Using Server-Driven UI to Reduce Time-to-Market

DevFeed: [Supercharging User Engagement: How Mercari is Using Server-Driven UI to Reduce Time-to-Market](<https://devfeed.tech/articles/supercharging-user-engagement-how-mercari-is-using-server-driven-ui-to-reduce-time-to-market-56798.md>)

Original publisher: [Read original article](<https://engineering.mercari.com/en/blog/entry/20251214-supercharging-user-engagement-how-mercari-is-using-server-driven-ui-to-reduce-time-to-market/>)

Author: HummStefan

Published: 2025-12-16T10:00:08Z

Content type: article

Language: en

Sources: [Mercari Engineering](<https://devfeed.tech/sources/mercari-engineering.md>)

Topics: [server-driven-ui](<https://devfeed.tech/topics/server-driven-ui.md>), [App](<https://devfeed.tech/topics/app.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [development-process](<https://devfeed.tech/topics/development-process.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>)

Tags: [apps](<https://devfeed.tech/tags/apps.md>), [business-logic](<https://devfeed.tech/tags/business-logic.md>), [components](<https://devfeed.tech/tags/components.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [growth](<https://devfeed.tech/tags/growth.md>), [server-driven-ui](<https://devfeed.tech/tags/server-driven-ui.md>)

### AI overview

Mercari's Merpay Growth Platform team describes using server-driven UI in its internal Engagement Platform CRM. The approach introduced a distributable EGP Card content type, enabling remote configuration for campaigns while preserving native performance and appearance. The article discusses the prior platform-specific implementation and its increasing configuration complexity.

### Source excerpt

This post is for Day 16 of Merpay & Mercoin Advent Calendar 2025 , brought to you by @Stefan_droid from the Merpay Growth Platform team. Introduction The Growth Platform team in Merpay is responsible for marketing and incentive related development across the entire company. Over the years, we have built an internal customer relationship management [...]

## How Storytale Previews Kotlin UI Components Across Platforms

DevFeed: [How Storytale Previews Kotlin UI Components Across Platforms](<https://devfeed.tech/articles/taking-a-look-at-storytale-kevin-schildhorn-38308.md>)

Original publisher: [Read original article](<https://touchlab.co/previewing-storytale>)

Published: 2025-04-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [Design system](<https://devfeed.tech/topics/design-system.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [community](<https://devfeed.tech/tags/community.md>), [components](<https://devfeed.tech/tags/components.md>), [design-system](<https://devfeed.tech/tags/design-system.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [source](<https://devfeed.tech/tags/source.md>), [storytale](<https://devfeed.tech/tags/storytale.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This tutorial examines Storytale, a Kotlin Gradle plugin and runtime library for generating an interactive UI component gallery for Composables. It explains story definitions, the generated interface, parameter controls, source viewing, and cross-platform previews, while noting the project's early-stage limitations.

### Source excerpt

Storytale is a Gradle plugin that generates interactive component libraries for your UI. We'll go over how it works and how it can help your design system.

## Bridging Compose and View: Seamless Interop Communication with CompositionLocal

DevFeed: [Bridging Compose and View: Seamless Interop Communication with CompositionLocal](<https://devfeed.tech/articles/bridging-compose-and-view-seamless-interop-communication-with-compositionlocal-25937.md>)

Original publisher: [Read original article](<https://juliensalvi.medium.com/bridging-compose-and-view-seamless-interop-communication-with-compositionlocal-4b0a273bf15f?source=rss-cbfc736ddcd3------2>)

Author: Julien Salvi

Published: 2025-03-05T13:42:13Z

Content type: article

Language: en

Sources: [Julien Salvi](<https://devfeed.tech/sources/stories-by-julien-salvi-on-medium.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [MVVM](<https://devfeed.tech/topics/mvvm.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [alerts](<https://devfeed.tech/tags/alerts.md>), [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [bridging](<https://devfeed.tech/tags/bridging.md>), [communication](<https://devfeed.tech/tags/communication.md>), [compose](<https://devfeed.tech/tags/compose.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dispatch](<https://devfeed.tech/tags/dispatch.md>), [events](<https://devfeed.tech/tags/events.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [fragment](<https://devfeed.tech/tags/fragment.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [interop](<https://devfeed.tech/tags/interop.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [recomposition](<https://devfeed.tech/tags/recomposition.md>), [scope](<https://devfeed.tech/tags/scope.md>), [state](<https://devfeed.tech/tags/state.md>), [system](<https://devfeed.tech/tags/system.md>), [ui](<https://devfeed.tech/tags/ui.md>), [using](<https://devfeed.tech/tags/using.md>), [view](<https://devfeed.tech/tags/view.md>)

### AI overview

The excerpt describes using a CompositionLocal to route feedback events from Compose to a Fragment or Activity. A `staticCompositionLocalOf<FeedbackMessageInterop?>` holds an implementation of an interface for showing alerts; the View host provides that implementation through `CompositionLocalProvider`, and composables in scope retrieve it with `CompositionLocal.current` without receiving it as an explicit parameter. The excerpt says this setup is intended for an implementation unlikely to change. It also notes communication can go from View code toward Compose, suggesting a `StateFlow` or `SharedFlow`, but the supplied text cuts off before explaining that approach.

### Source excerpt

Migrating to Compose exposed the team to several interoperability challenges as we integrated new Composables into our existing codebase. One key hurdle was figuring out how to trigger events from Compose and dispatch them to the main View holder, such as a Fragment or Activity. After some exploration, we found an efficient solution using CompositionLocal. Here's how we made it work! 🚀 What is a CompositionLocal? Think of CompositionLocal as a localized dependency injection system built directly into Compose's composition model. You create a CompositionLocal instance, which acts as a key for a specific type of data. Then, using the CompositionLocalProvider, you define a scope within your UI tree and associate a value with that CompositionLocal key. Any composable within that scope can then access the provided value using the CompositionLocal.current property, without needing to know where the value originated. This not only simplifies code but also makes it more maintainable and reusable. Furthermore, CompositionLocal values can be dynamic, triggering recomposition when they change, and they are thread-safe, making them a powerful tool for managing shared state within your Compose UI. Interop Communication with CompositionLocal In the following code, LocalFeedbackInterop is a staticCompositionLocalOf that will hold an implementation of the FeedbackMessageInterop interface. This interface defines the methods for showing feedback alerts, and the staticCompositionLocalOf ensures that the implementation is unlikely to change as it cannot be re-provided. This allows any composable within the scope to access the FeedbackMessageInterop implementation and trigger feedback messages without explicit dependencies. import androidx.compose.runtime.ProvidableCompositionLocal import androidx.compose.runtime.staticCompositionLocalOf val LocalFeedbackInterop: ProvidableCompositionLocal<FeedbackMessageInterop?> = staticCompositionLocalOf { null } interface FeedbackMessageInterop { fu

## Overscroll animations in Jetpack Compose

DevFeed: [Overscroll animations in Jetpack Compose](<https://devfeed.tech/articles/overscroll-animations-in-jetpack-compose-25795.md>)

Original publisher: [Read original article](<https://www.sinasamaki.com/overscroll-animations-in-jetpack-compose/>)

Author: sinasamaki

Published: 2024-07-12T07:11:09Z

Content type: tutorial

Language: en

Sources: [sinasamaki](<https://devfeed.tech/sources/sinasamaki.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [animations](<https://devfeed.tech/topics/animations.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [article](<https://devfeed.tech/tags/article.md>), [bounce](<https://devfeed.tech/tags/bounce.md>), [compose](<https://devfeed.tech/tags/compose.md>), [custom](<https://devfeed.tech/tags/custom.md>), [effect](<https://devfeed.tech/tags/effect.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [nested](<https://devfeed.tech/tags/nested.md>), [pager](<https://devfeed.tech/tags/pager.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>)

### AI overview

The article presents a workaround for adding custom overscroll animations to Jetpack Compose LazyLists and pagers, whose composables do not expose the customization parameter available for scrollable lists built with the standard API. It proposes a modifier using nested scrolling to capture scroll direction and overscroll distance, then drive an animation; the example applies the value as an offset to create a bounce, with a rubber-band curve and configurable settling timing. The excerpt frames this as a workaround and points to an issue report for native support. It ends during the NestedScrollConnection section, so implementation details beyond this setup are not available.

### Source excerpt

Add bouncy overscroll animations to all your scrolling elements

## A guide to troublesome UI components

DevFeed: [A guide to troublesome UI components](<https://devfeed.tech/articles/a-guide-to-troublesome-ui-components-9362.md>)

Original publisher: [Read original article](<https://a11yproject.com/posts/a-guide-to-troublesome-ui-components/>)

Author: Martin Lexelius

Published: 2023-02-14T00:00:00Z

Content type: article

Language: en

Sources: [The A11Y Project](<https://devfeed.tech/sources/the-a11y-project.md>)

Topics: [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [aria](<https://devfeed.tech/topics/aria.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Interaction Design](<https://devfeed.tech/topics/interaction-design.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [article](<https://devfeed.tech/tags/article.md>), [html](<https://devfeed.tech/tags/html.md>), [keyboard](<https://devfeed.tech/tags/keyboard.md>), [screen-readers](<https://devfeed.tech/tags/screen-readers.md>), [ui-components](<https://devfeed.tech/tags/ui-components.md>)

### AI overview

The article's central advice is to plan for accessibility with the whole team before building; retrofitting it can cost more. Across components, ensure keyboard operation, visible and logical focus, meaningful screen-reader announcements, and valid HTML and ARIA. Prefer native controls where possible: native <select> elements work consistently across platforms but offer little styling for options. Use <dialog> cautiously and test it with assistive technology; check that state is announced, Escape closes it, the close control has a clear name, focus stays within the modal, and returns to its trigger. Autosuggest requires substantial JavaScript and often has confusing keyboard and screen-reader behavior; test it with users, or consider popular search links. Date inputs have browser support issues, so allow alternative date entry; text fields with validation may be simpler. The author advises against carousels, citing frequent critical accessibility flaws and low engagement. For dynamically loaded content, announce updates and manage focus; pagination and regular page loads can improve assistive technology support and provide shareable URLs and browser find. Evaluate third-party npm组件

### Source excerpt

A common opinion is that accessibility is expensive, and that if you think accessibility is expensive, you can deal with it later. Here's the twist: it will be expensive if you deal with it later. However, accessibility is not expensive if you discuss it as a team early in the process. It is possible to build just about anything, it comes down to time and money. But no client ever has said, "Hey, we have a lot of time and money!" Accessibility is not expensive if you proactively plan for it. That's why you need to learn how to avoid some of the common pitfalls. Before we start User interface (UI) elements are the parts we use to build apps or websites, such as links, accordions and checkboxes etc. Some UI components are more complicated than other components. And some components are really complicated. All roles that build for the web (product owners, UX designers, art directors, developers, QA engineers) must know this. The challenges The components in this article all have the following challenges in common: Keyboard interaction. Everything that can be done with a mouse, must be possible to do with a keyboard. This includes navigating, opening and closing items, activating, stopping, starting, selecting, etc. Focus appearance and management. Users navigating by keyboard must know where they are. Always show the user's current position in the interface. The focus order should be logical and intuitive. Consistent announcements. All events and interactions should correspond as understandable and relevant audio feedback in screen readers. Buttons should describe themselves as buttons, links as links, etc. Code quality. Using the correct elements and ARIA attributes, as well as valid HTML. The components Following are some UI components that have non-trivial considerations to use in an accessible way: Custom selects Native HTML <select> elements (sometimes referred to as dropdowns, not to be confused with disclosures) has the most understandable and usable experience a

## Building UI Components With SVG and CSS

DevFeed: [Building UI Components With SVG and CSS](<https://devfeed.tech/articles/building-ui-components-with-svg-and-css-45256.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/building-components-svg-css/>)

Author: Ahmad Shadeed

Published: 2022-01-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [SVG](<https://devfeed.tech/topics/svg.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [components](<https://devfeed.tech/tags/components.md>), [css](<https://devfeed.tech/tags/css.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [html-css](<https://devfeed.tech/tags/html-css.md>), [svg](<https://devfeed.tech/tags/svg.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-components](<https://devfeed.tech/tags/ui-components.md>)

### AI overview

A tutorial on using SVG together with HTML and CSS to build responsive UI components. It covers use cases such as loading animations, image masks, and a cut-out avatar with a badge, including how SVG masking handles hover states and dark-mode backgrounds.

### Source excerpt

Learn how to use SVG and CSS to build UI components

## Custom properties with defaults: 3+1 strategies

DevFeed: [Custom properties with defaults: 3+1 strategies](<https://devfeed.tech/articles/custom-properties-with-defaults-3-1-strategies-52134.md>)

Original publisher: [Read original article](<https://lea.verou.me/2021/10/custom-properties-with-defaults/>)

Author: Lea Verou

Published: 2021-10-15T00:00:00Z

Content type: article

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [UI components](<https://devfeed.tech/topics/ui-components.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Components](<https://devfeed.tech/topics/web-components.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [articles](<https://devfeed.tech/tags/articles.md>), [blog](<https://devfeed.tech/tags/blog.md>), [button](<https://devfeed.tech/tags/button.md>), [color](<https://devfeed.tech/tags/color.md>), [component](<https://devfeed.tech/tags/component.md>), [css](<https://devfeed.tech/tags/css.md>), [css-custom-properties](<https://devfeed.tech/tags/css-custom-properties.md>), [css-variables](<https://devfeed.tech/tags/css-variables.md>), [custom-properties](<https://devfeed.tech/tags/custom-properties.md>), [customizable](<https://devfeed.tech/tags/customizable.md>), [dynamic-css](<https://devfeed.tech/tags/dynamic-css.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [inheritance](<https://devfeed.tech/tags/inheritance.md>), [original](<https://devfeed.tech/tags/original.md>), [specificity](<https://devfeed.tech/tags/specificity.md>), [styling](<https://devfeed.tech/tags/styling.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [value](<https://devfeed.tech/tags/value.md>)

### AI overview

The excerpt compares ways to give a customizable component's `--color` property a default. Repeating `var(--color, black)` works but is verbose; assigning `--color: black` directly can block inherited values and force consumers to override the component's specificity. The author's preferred approach is a separate internal property such as `--_color: var(--color, black)`, then using `--_color` throughout the component. A fallback variable also works and lets consumers customize the default. As an alternative, `@property` can define an inheriting initial value and enable animation, but registration is global, may clash with host-page registrations, cannot provide per-declaration initial values, and cannot describe every custom property syntax. The excerpt notes `@property` support is limited to Chromium.

### Source excerpt

When developing customizable components, one often wants to expose various parameters of the styling as custom properties, and form a sort of CSS API. This is still underutlized, but there are libraries, e.g. Shoelace, that already list custom properties alongside other parts of each component's API (even CSS parts!). Note: I'm using "component" here broadly, as any reusable chunk of HTML/CSS/JS, not necessarily a web component or framework component. What we are going to discuss applies to reusable chunks of HTML just as much as it does to "proper" web components. Let's suppose we are designing a certain button styling, that looks like this: We want to support a --color custom property for creating color variations by setting multiple things internally: .fancy-button { border: .1em solid var(--color); background: transparent; color: var(--color); } .fancy-button:hover { background: var(--color); color: white; } Note that with the code above, if no --color is set, the three declarations using it will be IACVT and thus we'll get a nearly unstyled text-only button with no background on hover (transparent), no border on hover, and the default black text color (canvastext to be precise). That's no good! IT's important that we set defaults. However, using the fallback parameter for this gets tedious, and WET: .fancy-button { border: .1em solid var(--color, black); background: transparent; color: var(--color, black); } .fancy-button:hover { background: var(--color, black); color: white; } To avoid the repetition and still ensure --color always has a value, many people do this: .fancy-button { --color: black; border: .1em solid var(--color); background: transparent; color: var(--color); } .fancy-button:hover { background: var(--color); color: white; } However, this is not ideal for a number of reasons: It means that people cannot take advantage of inheritance to set --color on an ancestor. It means that people need to use specificity that overrides your own rules to set th

## Announcing "use-sound", a React Hook for Sound Effects

DevFeed: [Announcing "use-sound", a React Hook for Sound Effects](<https://devfeed.tech/articles/announcing-use-sound-a-react-hook-for-sound-effects-45223.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/>)

Author: Josh W. Comeau

Published: 2020-03-30T13:10:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Library](<https://devfeed.tech/topics/library.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Website](<https://devfeed.tech/topics/website.md>), [Playback](<https://devfeed.tech/topics/playback.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [effects](<https://devfeed.tech/tags/effects.md>), [library](<https://devfeed.tech/tags/library.md>), [npm](<https://devfeed.tech/tags/npm.md>), [playback](<https://devfeed.tech/tags/playback.md>), [react](<https://devfeed.tech/tags/react.md>), [sound](<https://devfeed.tech/tags/sound.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

A tutorial introducing use-sound, a React hook for adding sound effects to web applications. It explains the product rationale for using sound in interfaces and covers the hook's capabilities, dependencies, installation, imports, and usage.

### Source excerpt

By and large, using the web is a visual experience. This is in terrible contrast to mobile apps, which interact with three of our human senses (sight, sound, and touch, through haptic feedback). I just released a library to make it easy to add sound to your React app, and I make the case that you should consider using it!

## Deep Dive on Ember Events

DevFeed: [Deep Dive on Ember Events](<https://devfeed.tech/articles/deep-dive-on-ember-events-15597.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/deep-dive-on-ember-events>)

Author: Marie Chatfield

Published: 2017-08-08T20:41:09Z

Content type: article

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [Ember](<https://devfeed.tech/topics/ember.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [Handlebars](<https://devfeed.tech/topics/handlebars.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [actions](<https://devfeed.tech/tags/actions.md>), [apis](<https://devfeed.tech/tags/apis.md>), [dom-events](<https://devfeed.tech/tags/dom-events.md>), [ember](<https://devfeed.tech/tags/ember.md>), [event-listeners](<https://devfeed.tech/tags/event-listeners.md>), [events](<https://devfeed.tech/tags/events.md>)

### AI overview

Ember DOM event listeners run before Ember action listeners, which explains why changing `{{action "toggleTheThing"}}` to `onClick={{action "toggleTheThing"}}` made the parent toggle before the child action could stop Ember action bubbling, closing the thing immediately. Component event attributes such as `click=(action ...)` and the `{{action}}` helper use Ember actions; HTML event attributes such as `onclick` use browser DOM events. Component event attributes and HTML event attributes receive the original DOM event, while the action helper does not. `bubbles=false` works with the action helper but not closure actions; `event.stopPropagation()` requires access to the original event. Stopping propagation in a DOM handler can also prevent Ember actions from firing. The author recommends Ember actions for consistency, with conditional DOM listeners described as one possible exception.

### Source excerpt

The difference between Ember actions and DOM events and why it matters, plus a really rad flowchart.

## Contextual Styling: UI Components, Nesting, and Implementation Detail

DevFeed: [Contextual Styling: UI Components, Nesting, and Implementation Detail](<https://devfeed.tech/articles/contextual-styling-ui-components-nesting-and-implementation-detail-45593.md>)

Original publisher: [Read original article](<https://csswizardry.com/2015/06/contextual-styling-ui-components-nesting-and-implementation-detail/>)

Author: Harry Roberts

Published: 2015-06-13T16:54:34Z

Content type: opinion

Language: en

Sources: [CSS Wizardry](<https://devfeed.tech/sources/css-wizardry.md>)

Topics: [UI components](<https://devfeed.tech/topics/ui-components.md>), [Design system](<https://devfeed.tech/topics/design-system.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [components](<https://devfeed.tech/tags/components.md>), [css](<https://devfeed.tech/tags/css.md>), [design-system](<https://devfeed.tech/tags/design-system.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-components](<https://devfeed.tech/tags/ui-components.md>)

### AI overview

An argument that contextual styling problems in UI components usually indicate a design-system issue rather than a coding problem. The article recommends designing explicit component variants instead of styling components differently based on their location.

### Source excerpt

How to style specific components when they're in specific locations

## Naming UI components in OOCSS

DevFeed: [Naming UI components in OOCSS](<https://devfeed.tech/articles/naming-ui-components-in-oocss-45578.md>)

Original publisher: [Read original article](<https://csswizardry.com/2014/03/naming-ui-components-in-oocss/>)

Author: Harry Roberts

Published: 2014-03-26T18:04:31Z

Content type: article

Language: en

Sources: [CSS Wizardry](<https://devfeed.tech/sources/css-wizardry.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [UI components](<https://devfeed.tech/topics/ui-components.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [components](<https://devfeed.tech/tags/components.md>), [css](<https://devfeed.tech/tags/css.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-components](<https://devfeed.tech/tags/ui-components.md>)

### AI overview

The article explains how to name UI components built with Object-Oriented CSS (OOCSS). It recommends reusable, abstract CSS classes for styling while using distinct names to identify complex UI components.

### Source excerpt

A way of giving complex, OOCSS-built components more meaningful names