feat(component): add hexagon pattern component #940
Merged
Yeom-JinHo merged 4 commits intomagicuidesign:mainfrom Apr 7, 2026
Merged
feat(component): add hexagon pattern component #940Yeom-JinHo merged 4 commits intomagicuidesign:mainfrom
Yeom-JinHo merged 4 commits intomagicuidesign:mainfrom
Conversation
…d documentation - Introduced the Hexagon Pattern component, a customizable background pattern made with SVGs. - Added multiple demo examples: Hexagon Pattern Demo, Hexagon Pattern Linear Gradient, Hexagon Pattern Dashed, and Hexagon Pattern Spacing. - Updated registry and documentation to include the new component and its usage. - Enhanced the main documentation to reflect the new component's features and installation instructions.
|
@chishiyac is attempting to deploy a commit to the product-studio Team on Vercel. A member of the Team first needs to authorize it. |
Yeom-JinHo
approved these changes
Apr 7, 2026
Member
Yeom-JinHo
left a comment
There was a problem hiding this comment.
@chishiyac
Tysm, this looks awesome!!
I added a few follow-up commits for the remaining tweaks, but really appreciate the contribution here.
Thanks again for the great work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the Hexagon Pattern component: a reusable SVG-based honeycomb background that can be styled with Tailwind CSS. It ships with four registry examples (default demo, linear gradient fill, dashed strokes, and spacing/gap), full Magic UI registry entries and generated
public/rJSON, documentation athexagon-pattern.mdx(including CLI and manual install), sidebar/docs config updates, and LLM-facing doc updates inllms.txt/llms-full.txt.Changes
HexagonPatterninregistry/magicui/hexagon-pattern.tsxwith props such asradius,gap,direction(horizontal/vertical),strokeDasharray, optional highlightedhexagons, and standard SVG/className passthrough.hexagon-pattern-demo,hexagon-pattern-linear-gradient,hexagon-pattern-dashed, andhexagon-pattern-spacingunderregistry/example/, wired inregistry-examples.tsand preview index.registry-ui.ts,registry/__index__.tsx, and root/publicregistry.jsonfiles plus per-block JSON underpublic/r/.content/docs/components/hexagon-pattern.mdxandconfig/docs.tsupdate for navigation.public/llms.txtandpublic/llms-full.txtupdated to include the new component.Motivation
Magic UI already offers grid-style patterns; this fills the same role for hexagonal/honeycomb layouts so users can drop in a consistent, accessible SVG pattern without custom geometry, with examples that show common styling (gradients, dashes, spacing).
Breaking Changes
None.
Screenshots
Device / browser / viewport: e.g. Chrome · macOS · 1440×900 — adjust to match your capture
Demo — default
Linear gradient
Dashed stroke
Spacing