Custom favicon (and customize layout in general)
See original GitHub issueMy specific question: how can you add a custom favicon (like http://airbnb.io/react-dates). I’m using a webpack config if it makes any difference.
More general question: Is it possible to customize the CSS/layout at all? I’d like to add my company name/logo in place of the REACT STORYBOOK
header in the top left. I could also see it being useful to customize the CSS of the “chrome” around the examples. Is this possible now or are there any plans to support this?
BTW I’m a huge fan of this project. We recently switched to it from a home-grown version which:
- was harder to maintain
- more inconsistent across example groups
- was shipped with our prod build which meant we needed to load dependencies like
faker
in prod.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to design a favicon: The ultimate guide - Creative Bloq
The first thing to consider when designing a favicon is what needs to be represented in the canvas. Remember that your favicon is...
Read more >Add Custom Favicons | Commerce Frontend Development
Add custom favicons. This topic describes how to add custom favicons. General overview ... Navigate to Content > Design > Configuration.
Read more >How to Add a Favicon to Your Website - Hostinger
Most websites usually use their logo as a favicon. If your website doesn't have a logo, you can simply create one with the...
Read more >How to add a favicon to your website to customize it | B12
"To add a custom icon to your Gatsby site in just a few a minute, let follow the steps below Go to the...
Read more >Custom Favicons - Typepad Knowledge Base
Create the favicon.ico file ... You will need to create the icon and save it in a special file format. First, create a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @jcarbo
You can use the
-s
flag to copy static files when running/bundling storybook. If one of your static file directories has a favicon then it’ll be used. Example:You can use the options addon to customize some parts of the UI. You can change the header text and the link with this addon.
We’re using inline-styles for our React Components (chrome) so it’ll be difficult to customize them with custom CSS. If it’s a relatively small and general customization, maybe we could add it to the options addon.
@mnmtanish - I realized the favicon issue wasn’t resolved via the hard refresh. I had been messing around internally with the node module and something I changed fixed it. I wound up digging in further and just opened a PR with a fix (see #592).