# Brushed Metal UI in Jetpack Compose

DevFeed: [Brushed Metal UI in Jetpack Compose](<https://devfeed.tech/articles/brushed-metal-ui-in-jetpack-compose-25768.md>)

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

Author: sinasamaki

Published: 2025-02-14T11:52:40Z

Content type: tutorial

Language: en

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

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [animate](<https://devfeed.tech/tags/animate.md>), [article](<https://devfeed.tech/tags/article.md>), [blending](<https://devfeed.tech/tags/blending.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [clipping](<https://devfeed.tech/tags/clipping.md>), [compose](<https://devfeed.tech/tags/compose.md>), [device](<https://devfeed.tech/tags/device.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [highlights](<https://devfeed.tech/tags/highlights.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [layer](<https://devfeed.tech/tags/layer.md>), [metal](<https://devfeed.tech/tags/metal.md>), [rings](<https://devfeed.tech/tags/rings.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [spokes](<https://devfeed.tech/tags/spokes.md>), [textures](<https://devfeed.tech/tags/textures.md>), [transparent](<https://devfeed.tech/tags/transparent.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

The excerpt builds a brushed-metal effect in Jetpack Compose by layering a base fill, transparent circular ridges, and highlights. It creates the ridges with a repeated radial gradient, deriving a darker ring color from a light-gray base and varying ring spacing randomly. A sweep (conic or angular) gradient supplies highlights derived by mixing the base color with white; matching its start and end colors makes the sweep continuous. Rotating the highlight can suggest a moving light source, with device orientation or a user event mentioned as possible drivers. The excerpt notes that rotating the gradient causes clipping, but ends before showing the fix. It also leaves some code details and blend-mode names omitted.

## Source excerpt

How to create this skeuomorphic metallic effect using gradients