-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
Add Lucide basics guide on site #1521
Conversation
I will add the Advanced section in another PR. So people already can enjoy the new guides. |
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
Co-authored-by: Jakob Guddas <[email protected]>
@JanTrichter Thanks a lot! I'm quite happy with this addition. Thanks for your feedback, I've added an editor width percentage, so it should look better now. |
@JanTrichter Processes your feedback! |
code: App, | ||
}, | ||
'styles.css': { | ||
code:styles, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be a common theme here that there is no space between code:
and styles
^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh tnx, didn't noticed will clean that up!
@JanTrichter Thanks for the feedback, I've processed it! |
I am writing new documentation for the site with new guides to get started with Lucide and SVG icons.
The guide also contains a lot of basic code examples to show how it works.
I implemented Sandpack from Codesandbox. This is great because you get a little editor where you can make changes and it will render these changes Live. If you want to launch a Codesandbox you can do that with a direct button. This works really well.
This is still far in progress. If you like to help me on this, let me know!
Documentation
I thought of two sections: "basics" and "advanced".
Basics
The basics are really low-level UI programming with SVGs. This shows a lot of the features we builtin in Lucide, and shows how you can modify and style icons using props and CSS.
Advanced (Will be added in another PR)
More advanced way of using Lucide icons in projects. Showing advanced ways how you can use the Lucide library to adjust the Icons to your need.