import { Meta } from "@storybook/blocks";
import Github from "./assets/github.svg"; import Discord from "./assets/discord.svg"; import Youtube from "./assets/youtube.svg"; import Tutorials from "./assets/tutorials.svg"; import Styling from "./assets/styling.png"; import Context from "./assets/context.png"; import Assets from "./assets/assets.png"; import Docs from "./assets/docs.png"; import Share from "./assets/share.png"; import FigmaPlugin from "./assets/figma-plugin.png"; import Testing from "./assets/testing.png"; import Accessibility from "./assets/accessibility.png"; import Theming from "./assets/theming.png"; import AddonLibrary from "./assets/addon-library.png";
export const RightArrow = () => <svg viewBox="0 0 14 14" width="8px" height="14px" style={{ marginLeft: '4px', display: 'inline-block', shapeRendering: 'inherit', verticalAlign: 'middle', fill: 'currentColor', 'path fill': 'currentColor' }}
Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.
Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.
Learn moreOften when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.
Learn moreTo link static files (like fonts) to your projects and stories, use the `staticDirs` configuration option to specify folders to load when starting Storybook.
Learn moreNow that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.
Auto-generate living, interactive reference documentation from your components and stories.
Learn moreEmbed your stories into Figma to cross-reference the design and live implementation in one place.
Learn more <a
href="https://github.com/storybookjs/storybook"
target="_blank"
>Star on GitHub<RightArrow /></a>
</div>
<div className="sb-section-item">
<img src={Discord} alt="Discord logo" className="sb-explore-image"/>
<div>
Get support and chat with frontend developers.
<a
href="https://discord.gg/storybook"
target="_blank"
>Join Discord server<RightArrow /></a>
</div>
</div>
<div className="sb-section-item">
<img src={Youtube} alt="Youtube logo" className="sb-explore-image"/>
<div>
Watch tutorials, feature previews and interviews.
<a
href="https://www.youtube.com/@chromaticui"
target="_blank"
>Watch on YouTube<RightArrow /></a>
</div>
</div>
<div className="sb-section-item">
<img src={Tutorials} alt="A book" className="sb-explore-image"/>
<p>Follow guided walkthroughs on for key workflows.</p>
<a
href="https://storybook.js.org/tutorials/"
target="_blank"
>Discover tutorials<RightArrow /></a>
</div>