{"componentChunkName":"component---src-templates-post-template-js","path":"/en-US/start/getting-started","result":{"data":{"current":{"frontmatter":{"title":"Quick Start","order":2,"brief":null,"icon":"doc-gettingstarted"},"fields":{"type":"start"},"tableOfContents":{"items":[{"url":"#1-install-library","title":"1. Install Library"},{"url":"#2-use-components-in-a-modular-way-","title":"2. Use components in a modular way 💫"},{"url":"#3-use-in-nextjs","title":"3. Use in Next.js"},{"url":"#4-use-in-remix","title":"4. Use in Remix"},{"url":"#5-use-umd-import-in-browser","title":"5. Use UMD import in browser"}]},"body":"var _excluded = [\"components\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"category\": \"Getting Started\",\n  \"title\": \"Quick Start\",\n  \"subTitle\": \"Quick Start\",\n  \"icon\": \"doc-gettingstarted\",\n  \"localeCode\": \"en-US\",\n  \"order\": 2\n};\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\nvar Notice = makeShortcode(\"Notice\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"Semi Design is maintained by the Douyin front-end team and provides 70+ ready-to-use React components and the Figam Variant UI Kit. You can import and use it in any React project (new projects are recommended to be created via Rsbuild, CreateReactApp, or Vite). Currently, it supports React v16, v17, v18, and v19 (\", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https:/lf3-static.semi.design/obj/semi-tos/semi_main/en-US/start/react19\"\n  }, \"React v19 adaptation\"), \").\"), mdx(\"p\", null, \"If you need to use compile-time customization capabilities such as prefixCls, themes, and CSS Layers, we recommend using Webpack or Rspack/Rsbuild as your engineering build solution. (For ByteDance users, if you are using your company's internal engineering solution, please refer to the Lark documentation for configuration: \", mdx(\"a\", {\n    href: \"https://bytedance.larkoffice.com/wiki/FaRwweDLmigrD0k8wLgcDaQtnbb\",\n    target: \"_blank\"\n  }, \"Semi Engineering FAQ\"), \")\"), mdx(Notice, {\n    title: \"Important Notes\",\n    mdxType: \"Notice\"\n  }, \" The component package @douyinfe/semi-ui is suitable for React versions lower than v19. If using React v19, please use @douyinfe/semi-ui-19. In all examples below, @douyinfe/semi-ui can be replaced with @douyinfe/semi-ui-19.\"), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"1. Install Library\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, \"# with npm\\nnpm i @douyinfe/semi-ui\\n\\n# with yarn\\nyarn add @douyinfe/semi-ui\\n\\n# with pnpm\\npnpm add @douyinfe/semi-ui\\n\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"2. Use components in a modular way \\uD83D\\uDCAB\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Semi\"), \" provides esm format dist, and the css of the component is only imported by the corresponding js.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"When used in \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Webpack\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Rspack\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"create-react-app\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Vite\"), \" projects, there is no need to configure any compilation items.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"All related resources are packaged on-demand at build process. Tree shaking will work without additional configuration.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\"\n  }, \"import React, { Component } from 'react';\\nimport { Button, Toast } from '@douyinfe/semi-ui';\\n\\nclass Demo extends React.Component {\\n    constructor(props) {\\n        super(props);\\n    }\\n\\n    render() {\\n        return <Button onClick={() => Toast.warning({ content: 'welcome' })}>Hello Semi</Button>;\\n    }\\n}\\n\")), mdx(\"blockquote\", {\n    parentName: \"section\"\n  }, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, \"It is recommended to import \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://www.npmjs.com/package/reset-css\"\n  }, \"reset.css\"), \" into the project, which can avoid introducing the default style of the browser.\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"3. Use in Next.js\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"If you only use the default theme, you can add Semi-related packages to \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"transpilePackages\"), \" (Next.js version requires >= v13.1) . \")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-diff\"\n  }, \"// next.config.js\\nconst nextConfig = {\\n+ transpilePackages: ['@douyinfe/semi-ui', '@douyinfe/semi-icons', '@douyinfe/semi-illustrations'],\\n};\\n\\nmodule.exports = nextConfig;\\n\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"If you need to use a custom theme package or the version of Next.js is lower than v13.1, you need to use the compiling plugin \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"@douyinfe/semi-next\"), \" provided by Semi\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"First install the plugin \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"npm i @douyinfe/semi-next\"), \" (if you use yarn or pnpm, please replace it with the equivalent command)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Configured in \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"next.config.js\"), \", the plugin will remove the default import CSS statement of the component. More configurations can be found \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"@douyinfe/semi-next\"), mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://www.npmjs.com/package/@douyinfe/semi-next\"\n  }, \"Detail Config\"), \" \"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"import semi css in \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"global.css\"), \" (using this method in Next.js does not support on-demand import)\")))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-js\"\n  }, \"// next.config.js\\nconst semi = require('@douyinfe/semi-next').default({\\n    /* the extension options */\\n});\\nmodule.exports = semi({\\n    // your custom Next.js configuration\\n});\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-css\"\n  }, \"/* styles/globals.css */\\n@import '~@douyinfe/semi-ui/dist/css/semi.min.css';\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"How to use theme packages with Next.js\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"You need to change the path of the import statement in globals.css, and replace the default theme CSS product with the CSS product in your customized theme package.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"For example, when you want to use the theme package of the Douyin creation service platform \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"@semi-bot/semi-theme-doucreator\"), \" \"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-css\"\n  }, \"/* styles/globals.css */\\n@import '~@semi-bot/semi-theme-doucreator/semi.min.css';\\n\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"4. Use in Remix\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"@remix related package version requirements > 1.11.0, and install \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"@remix-run/css-bundle\"))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Configure \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"remix.config.js\"), \", refer to \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://remix.run/docs/en/v1/guides/styling#css-side-effect-imports\"\n  }, \"Remix Css Side-Effect Imports\"), \". Turn on \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"unstable_cssSideEffectImports\"), \", and configure Semi related packages in \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"serverDependenciesToBundle\"), \".\"))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-diff\"\n  }, \"// remix.config.js\\nmodule.exports = {\\n  future: {\\n+    unstable_cssSideEffectImports: true,\\n  },\\n  serverDependenciesToBundle: [\\n+    /^@douyinfe\\\\/semi-ui/,\\n+    /^@douyinfe\\\\/semi-icons/,\\n+    /^@douyinfe\\\\/semi-illustrations/,\\n  ],\\n};\\n\\n\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Configure in \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"root.tsx\"), \"\\uFF0Crefer to \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://remix.run/docs/en/v1/guides/styling#css-bundling\"\n  }, \"Remix CSS Bundling\"), \". Import \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"cssBundleHref\"), \" and configure \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"links\"))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-diff\"\n  }, \"// root.tsx\\n+ import { cssBundleHref } from \\\"@remix-run/css-bundle\\\";\\n\\n export const links = () => {\\n   return [\\n+     ...(cssBundleHref ? [{ rel: \\\"stylesheet\\\", href: cssBundleHref }] : []),\\n   ];\\n };\\n\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"After completing the configuration, you can use Semi components normally\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"How to use theme packages with Remix\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"You can directly replace the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"cssBundleHref\"), \" step with importing the built full css product in the theme package to replace the default theme css).\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"For example, when you want to apply the theme package \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"@semi-bot/semi-theme-doucreator\"), \" of the Douyin creation service platform Time\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-diff\"\n  }, \"// root.tsx\\n+ import ThemeStyle from \\\"@semi-bot/semi-theme-doucreator/semi.min.css\\\";\\n\\n export const links = () => {\\n   return [\\n-    ...(cssBundleHref ? [{ rel: \\\"stylesheet\\\", href: cssBundleHref }] : []),     \\n+    { rel: \\\"stylesheet\\\", href: ThemeStyle },\\n   ];\\n };\\n\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"5. Use UMD import in browser\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://unpkg.com/browse/@douyinfe/semi-ui/dist/umd/semi-ui.min.js\"\n  }, mdx(\"img\", {\n    parentName: \"a\",\n    \"src\": \"https://img.badgesize.io/https:/unpkg.com/@douyinfe/semi-ui/dist/umd/semi-ui.min.js?label=semi.min.js&compression=gzip\",\n    \"alt\": \"BUILD-JS\"\n  })), \" \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://unpkg.com/browse/@douyinfe/semi-ui/dist/css/semi.min.css\"\n  }, mdx(\"img\", {\n    parentName: \"a\",\n    \"src\": \"https://img.badgesize.io/https:/unpkg.com/@douyinfe/semi-ui/dist/css/semi.min.css?label=semi.min.css&compression=gzip\",\n    \"alt\": \"BUILD-CSS\"\n  }))), mdx(\"blockquote\", {\n    parentName: \"section\"\n  }, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, \"We do not recommend using the built file directly, as this will introduce all components in full and cannot be loaded on demand. But if there is indeed a need for non-construction scenarios, you can quote in the following ways\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Use script and link tags to import files directly in the browser, and use the global variable \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SemiUI\"), \"\\u3001\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SemiIcons\"), \"\\u3001\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SemiIllustrations\")), mdx(\"ol\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Please make sure you have import \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"react\"), \" and \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"react-dom\"), \" in advance\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Import the JS file, the following example URL 2.27.0 is the version identifier, if you want to use a different version of Semi, just replace the corresponding value in version\")), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Resource\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"URL\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-ui (min)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/umd/semi-ui.min.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/umd/semi-ui.min.js\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-icons (min)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/umd/semi-icons.min.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/umd/semi-icons.min.js\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-illustrations (min)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-illustrations@latest/dist/umd/semi-illustrations.min.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-illustrations@latest/dist/umd/semi-illustrations.min.js\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-ui (normal)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/umd/semi-ui.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/umd/semi-ui.js\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-icons (normal)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/umd/semi-icons.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/umd/semi-icons.js\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-illustrations (normal)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-illustrations@latest/dist/umd/semi-illustrations.js\"\n  }, \"https://unpkg.com/@douyinfe/semi-illustrations@latest/dist/umd/semi-illustrations.js\"))))), mdx(\"ol\", {\n    parentName: \"section\",\n    \"start\": 3\n  }, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Import the CSS style file of the Semi default theme\")), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Resource\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"URL\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi.css\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/css/semi.css\"\n  }, \"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/css/semi.css\"))), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"semi-icons.css\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/css/semi-icons.css\"\n  }, \"https://unpkg.com/@douyinfe/semi-icons@latest/dist/css/semi-icons.css\"))))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-diff\"\n  }, \"<!DOCTYPE html>\\n    <html lang=\\\"zh-cn\\\">\\n    <head>\\n        <script src=\\\"https://unpkg.com/babel-standalone@6.15.0/babel.min.js\\\"></script>\\n+       <script crossorigin src=\\\"https://unpkg.com/react@16/umd/react.development.js\\\"></script>\\n+       <script crossorigin src=\\\"https://unpkg.com/react-dom@16/umd/react-dom.development.js\\\"></script>\\n\\n+       <script src=\\\"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/umd/semi-ui-react.min.js\\\"></script>\\n+       <link rel=\\\"stylesheet\\\" href=\\\"https://unpkg.com/@douyinfe/semi-ui@2.27.0/dist/css/semi.css\\\">\\n\\n+       <script src=\\\"https://unpkg.com/@douyinfe/semi-icons@latest/dist/umd/semi-icons.min.js\\\"></script>\\n+       <link rel=\\\"stylesheet\\\" href=\\\"https://unpkg.com/@douyinfe/semi-icons@latest/dist/css/semi-icons.css\\\">\\n+       <script src=\\\"https://unpkg.com/@douyinfe/semi-illustrations@latest/dist/umd/semi-illustrations.min.js\\\"></script>\\n\\n    </head>\\n    <body>\\n        <div id=\\\"root\\\"></div>\\n    </body>\\n</html>\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-html\"\n  }, \"<script type=\\\"text/babel\\\">\\n    const { Input, Button, Toast, Icon, Form } = SemiUI;\\n    const { IconHome } = SemiIcons;\\n    const { IllustrationConstruction } = SemiIllustrations;\\n    ReactDOM.render(\\n        <div>\\n            <Button onClick={() => Toast.warning({ duration: 0, content: 'Semi Design' })}>test</Button>\\n            <Input defaultValue=\\\"semi\\\" onChange={value => Toast.info('hello')}></Input>\\n            <IconHome size=\\\"large\\\" />\\n            <IllustrationConstruction style={{width: 150, height: 150}} />\\n        </div>, document.getElementById(\\\"root\\\")\\n    );\\n</script>\\n\"))));\n}\n;\nMDXContent.isMDXComponent = true;"}},"pageContext":{"slug":"en-US/start/getting-started","next":{"fields":{"slug":"zh-CN/start/getting-started"},"id":"f6ab8d8f-d12b-55d3-a19e-5fba1f618927","frontmatter":{"title":"Getting Started 快速开始","localeCode":"zh-CN","icon":"doc-gettingstarted","showNew":null}},"previous":{"fields":{"slug":"zh-CN/start/introduction"},"id":"08c9490a-f514-5e5f-adff-faa42cbe75d5","frontmatter":{"title":"Introduction 介绍","localeCode":"zh-CN","icon":"doc-intro","showNew":null}}}},"staticQueryHashes":["1348983216108720","1477422646108720","3245198693108720","417590761108720","63159454108720"]}