Skip to content

feat(noise-texture): introduce NoiseTexture component#944

Open
chishiyac wants to merge 2 commits intomagicuidesign:mainfrom
chishiyac:feat/add-noise-texture
Open

feat(noise-texture): introduce NoiseTexture component#944
chishiyac wants to merge 2 commits intomagicuidesign:mainfrom
chishiyac:feat/add-noise-texture

Conversation

@chishiyac
Copy link
Copy Markdown
Contributor

@chishiyac chishiyac commented Apr 7, 2026

Description

This PR adds the Noise Texture component: a reusable, pointer-events–disabled SVG overlay that uses SVG filters (feTurbulence, desaturation, and feComponentTransfer) so you can add grain-style texture without raster assets. It ships with four registry examples (default panel, newsletter-style card, button, and input), full Magic UI registry entries and generated public/r/*.json, documentation at noise-texture.mdx (CLI and manual install, examples, props), and sidebar/docs config updates.

Changes

  • Component: New NoiseTexture in registry/magicui/noise-texture.tsx with props such as frequency (baseFrequency), octaves, slope (post-desaturation contrast), and opacity, plus standard SVG/className passthrough.
  • Examples: noise-texture-demo, noise-texture-demo-2, noise-texture-demo-3, and noise-texture-demo-4 under registry/example/, wired in registry-examples.ts and the registry __index__.
  • Registry: Entries in registry-ui.ts, registry/__index__.tsx, and public/r/ JSON for the block and demos.
  • Docs: New content/docs/components/noise-texture.mdx and config/docs.ts update for navigation.
  • LLM docs: public/llms.txt and public/llms-full.txt updated to list the component and example files.

Motivation

I didn't have anywhere to store the component LMAO, and why not store it in the library most used by Design Engineers? Joking aside, I just thought it could be a good addition so people can build more things in a derivative way.

Breaking Changes

None.

Screenshots

Device / browser / viewport: (e.g. Chrome · macOS · 1440×900 — match your capture)

Captura de Tela 2026-04-07 às 17 44 39
Before After
N/A (new component) Noise Texture docs with live previews; newsletter, button, and input examples in the registry

…and documentation

- Added Noise Texture component, an SVG fractal noise layer utilizing feTurbulence for subtle texture overlays.
- Included multiple demo examples: Noise Texture Demo, Noise Texture Demo (newsletter card), Noise Texture Demo (button), and Noise Texture Demo (input).
- Updated registry and documentation to reflect the new component and its usage.
- Enhanced main documentation with installation instructions and usage examples.

Co-authored-by: Jinho Yeom <pwlsghq@naver.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

@chishiyac is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

… files

- Removed redundant import statement in button component.
- Cleaned up trailing whitespace in multiple documentation files for glare-hover, hexagon-pattern, noise-texture, and striped-pattern components.
- Updated formatting in the noise-texture component's props interface for better readability.
@chishiyac
Copy link
Copy Markdown
Contributor Author

One note: I've added my name to the credits for the components I've added. I hope that's not a problem...

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant