![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@ngrok/mantle
Advanced tools
Mantle is ngrok’s UI library and design system. It’s inspired by shadcn/ui and uses Radix with Tailwind for styling. It’s documented using Remix.
To get started, install @ngrok/mantle
with your preferred package manager:
package manager | command |
---|---|
npm | npm install -E @ngrok/mantle |
yarn | yarn add -E @ngrok/mantle |
pnpm | pnpm add -E @ngrok/mantle |
bun | bun add -E @ngrok/mantle |
Then, add the preset to your tailwind configuration.
import { mantlePreset } from "@ngrok/mantle/tailwind-preset";
import type { Config } from "tailwindcss";
export default {
presets: [mantlePreset],
// ... the rest of your tailwind config!
} satisfies Config;
Next, check out the Overview & Setup and Theme Provider usage docs and start using mantle components in your application!
Mantle uses bun as its package manager. First, install the dependencies in the repo’s directory by running bun install
.
Run bun run docs:dev
to run Remix's development mode, rebuilding assets on file changes.
Open up http://localhost:3000 and you should be ready to go!
We use GitHub Actions to deploy our production site to vercel and publish to npm.
FAQs
mantle is ngrok's UI library and design system.
The npm package @ngrok/mantle receives a total of 958 weekly downloads. As such, @ngrok/mantle popularity was classified as not popular.
We found that @ngrok/mantle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.