New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@ngrok/mantle

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrok/mantle

mantle is ngrok's UI library and design system.

0.21.5
latest
Version published
Weekly downloads
458
-25.16%
Maintainers
0
Weekly downloads
 
Created

Mantle

Mantle Design System

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 react-router.

Documentation

Installation

Install @ngrok/mantle with your preferred package manager:

package managercommand
npmnpm install -E @ngrok/mantle
yarnyarn add -E @ngrok/mantle
pnpmpnpm add -E @ngrok/mantle
bunbun add -E @ngrok/mantle

Then, add the preset and mantle content to your tailwind configuration.

import { createRequire } from "node:module";
import { mantlePreset, resolveMantleContentGlob } from "@ngrok/mantle/tailwind-preset";
import type { Config } from "tailwindcss";

const require = createRequire(import.meta.url);

export default {
	presets: [mantlePreset],
	content: [resolveMantleContentGlob(require), "./app/**/*.tsx"], // 👈 don't forget to swap out app content glob here!
	// ... 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!

Contributing

Please read our contribution guide.

FAQs

Package last updated on 11 Mar 2025

Did you know?

Socket

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.

Install

Related posts