-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
[blog] Add post to introduce the Connect plugin #41763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 15 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c466dcd
add initial post draft
danilo-leal 3197f5d
add links
danilo-leal e3d820d
change date and add card
danilo-leal 0c6d1c3
add correct kit version & other links
danilo-leal 0e8f9bc
iterating on the copywriting + add videos
danilo-leal 6d0d229
Vale lint: non-breaking space
danilo-leal edccf71
Vale lint: remove trailing punctuation in heading
danilo-leal fd3fd85
fix tag (which doesn't have non-breaking space)
danilo-leal 2401999
link, writing, and date updates
danilo-leal a4923c9
extra: little layout fix
danilo-leal 2e9a103
update publish date
danilo-leal a4bc041
update publishing date
danilo-leal 9829558
run CI checks again
danilo-leal 520f2a7
rerun CI checks
danilo-leal db24bae
update publishing date
danilo-leal 11071f2
Sam's review
danilo-leal 693e592
editing and formatting
danilo-leal 3667ac9
Merge branch 'next' into connect-beta-blog-post
danilo-leal 92ecc77
slight rewording
danilo-leal 810e655
Sam's latest review
danilo-leal b6f90d0
rerun CI checks
danilo-leal 1b448eb
Merge branch 'next' into connect-beta-blog-post
danilo-leal bc65434
fix link
danilo-leal 518bd2f
formatting + improve card image
danilo-leal 7be5e7d
improve Storybook images
danilo-leal a58e9b8
ensure there's not contradicting info
danilo-leal 371790b
fix hero's image dimensions and link
danilo-leal f57c079
remove link from the image
danilo-leal 9b11678
test fixing the OG manual image link
danilo-leal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import * as React from 'react'; | ||
| import TopLayoutBlog from 'docs/src/modules/components/TopLayoutBlog'; | ||
| import { docs } from './introducing-connect.md?muiMarkdown'; | ||
|
|
||
| export default function Page() { | ||
| return <TopLayoutBlog docs={docs} />; | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| --- | ||
| title: 'Introducing Connect: a Figma plugin that exports Material UI code' | ||
| description: Connect is perfect for designing and developing using the Material UI React library and Design Kit. | ||
| date: 2024-04-13T00:00:00.000Z | ||
| authors: ['danilo-leal', 'DavidCnoops'] | ||
| tags: ['Connect', 'Material UI', 'Product'] | ||
| card: true | ||
| --- | ||
|
|
||
| A few years ago, we released the [Material UI Design Kit for Figma](/store/items/figma-react/). | ||
| Since then, many designers who use it expressed how much faster their process would be if they could hand over production-ready code generated directly from the design software to developers using the Material UI React library. | ||
|
|
||
| That's why Connect, a Figma plugin, was developed and it's now [available now in beta](https://www.figma.com/community/plugin/1336346114713490235/connect)! 🎉 | ||
|
|
||
| Ultimately, the goal for the Design Kits is to increase the efficiency and speed of the entire team that is using Material UI, drawing designers and developers closer by facilitating the way new designs reach the codebase. | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Theme customization | ||
|
|
||
| Connect works from the [Design Kit's v5.16.0](https://github.com/mui/mui-design-kits/releases/tag/v5.16.0) up as that was when it started to support Figma's local variables. | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| This feature has significantly matured the use of design tokens, which is something Material UI has been doing for a while with all of [its theming features](/material-ui/customization/theming/). | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| That means you can use Connect to generate code for any customized local variable and style included in the Design Kit. | ||
|
|
||
| <video preload="metadata" controls muted loop playsinline width="1584" height="1080"> | ||
| <source src="/static/blog/introducing-connect/theme-customization.mp4" type="video/mp4"> | ||
| </video> | ||
|
|
||
| <!-- Visit the documentation to learn [how to insert the generated code into your theme file](/material-ui/design-resources/connect/#using-the-generated-theme/). --> | ||
| <!-- I remove the comment from the line above once we publish the docs, otherwise this PR's checks will fail --> | ||
|
|
||
| ## Component customization | ||
|
|
||
| You can also drastically change a component's appearance (in multiple states) in the Design Kit and generate the corresponding theme code. | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| This is one of the most exciting features because it makes tweaking components incredibly fast! | ||
|
|
||
| <video preload="metadata" controls muted loop playsinline width="1584" height="1080"> | ||
| <source src="/static/blog/introducing-connect/custom-component.mp4" type="video/mp4"> | ||
| </video> | ||
|
|
||
| :::warning | ||
| While in beta, not all components are supported yet. | ||
| We'll expand component coverage progressively in the coming months. | ||
| For now, you can play around with the Button, Switch, and Typography! | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ::: | ||
|
|
||
| ## Quick Storybook preview | ||
|
|
||
| On Figma, it's possible to see all states of a certain component but not necessarily interact with them. | ||
danilo-leal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| That's why there's an embedded Storybook preview panel in Connect so that you can conveniently play around with your changes and also see how they interact with other props available in the component API. | ||
|
|
||
| <video preload="metadata" autoplay muted loop playsinline width="1584" height="1080"> | ||
| <source src="/static/blog/introducing-connect/storybook.mp4" type="video/mp4"> | ||
| </video> | ||
|
|
||
| ## Try Connect now | ||
|
|
||
| Get the beta version of Connect now, availble **for free** on the [Figma Community](https://www.figma.com/community/plugin/1336346114713490235/connect). | ||
| There's still a lot to do, and we're looking forward to hearing from all of you [who requested this plugin years ago](https://github.com/mui/mui-design-kits/issues/10). | ||
|
|
||
| - Check out further documentation for the Connect plugin and the Material UI Design Kit (To-be-removed note: I'll add links here once the corresponding PR for their docs is merged). | ||
| - If you've got any feedback, we'd love to [hear from you here](https://mui-connect.canny.io/feedback). | ||
|
|
||
| Happy designing! | ||
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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.
Uh oh!
There was an error while loading. Please reload this page.