Installation
Download the shared assets once, then copy the components you want into your project.
Download the assets
Download Inlay assets and unzip the archive. Keep the inlay-assets folder beside your HTML page or your React or Vue source files so the copied relative imports resolve.
Load the stylesheet
For HTML, add this link to the page head. For React or Vue, add the stylesheet import once in your application entry.
<link rel="stylesheet" href="./inlay-assets/inlay.css">import "./inlay-assets/inlay.css";Set data-theme="dark" or data-theme="light" on the root HTML element. See Dark mode for examples.
Copy a component
- HTML. Paste the snippet into your page. Keep its module imports and serve the page over HTTP.
- React. Save the snippet as a
.jsxor.tsxfile and render its named export. - Vue. Save the snippet as a
.vuefile and import it into your app.
If you save a component in another folder, adjust its relative imports. Try Button or Dialog.