Skip to content

feat(style): remove experimental_ prefix from backgroundImage#57165

Open
intergalacticspacehighway wants to merge 4 commits into
react:mainfrom
intergalacticspacehighway:remove-experimental-background-image-prefix
Open

feat(style): remove experimental_ prefix from backgroundImage#57165
intergalacticspacehighway wants to merge 4 commits into
react:mainfrom
intergalacticspacehighway:remove-experimental-background-image-prefix

Conversation

@intergalacticspacehighway

@intergalacticspacehighway intergalacticspacehighway commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary:

Promote backgroundImage from experimental_backgroundImage to a stable style prop. It has been available in experimental mode for some time and is already used in popular open-source projects such as NativeWind, Unstyles, Tamagui, React Strict DOM, and others, with no reported issues so far.

backgroundImage currently supports linear-gradient and radial-gradient. url() support already has a PR up (PRs), it should not be a blocker imo though as gradient is also a big unlock.

Changelog:

[GENERAL][CHANGED] - Remove experimental_ prefix from backgroundImage

Test Plan:

Tested background image screen on RNTester.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2026
Promote `backgroundImage` from `experimental_backgroundImage` to a stable
style prop. `backgroundSize`, `backgroundPosition`, and `backgroundRepeat`
remain experimental.
@intergalacticspacehighway intergalacticspacehighway force-pushed the remove-experimental-background-image-prefix branch from 311994e to 568bc32 Compare June 11, 2026 00:51
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 11, 2026
@intergalacticspacehighway

Copy link
Copy Markdown
Contributor Author

cc - @jorge-cab reopening the previous PR here. I deleted my old fork as I was not able to push to it after the repo org change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant