Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngrok/mantle

Package Overview
Dependencies
Maintainers
0
Versions
152
Alerts
File Explorer

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.1.51
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
574
increased by191.37%
Maintainers
0
Weekly downloads
 
Created
Source

Mantle

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.

Get Started

To get started, 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 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!

Development

Installation

Mantle uses bun as its package manager and direnv to assist you with managing the bun version.

First, install direnv:

OScommand
macOSbrew install direnv
ubuntusudo apt install direnv

For all other OSes, see the direnv installation guide.

Next, run

direnv allow

This will install bun if it's not already installed and then update to the latest version.

Finally, install all of node module dependencies in the repo’s directory:

bun install

Local Development

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!

Production Deployment

We use GitHub Actions to deploy our production site to vercel and publish to npm.

FAQs

Package last updated on 22 Aug 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc