Socket
Book a DemoInstallSign in
Socket

@pantheon-systems/nextjs-kit

Package Overview
Dependencies
Maintainers
6
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pantheon-systems/nextjs-kit

Pantheon Decoupled Kit's Next.js Kit

1.7.10
latest
Source
npmnpm
Version published
Maintainers
6
Created
Source

Pantheon Systems Next.js Kit

The @pantheon-systems/nextjs-kit consists of utilities and Next.js components for use in a Pantheon Front-End Site built with Next.js.

Installation

To install this package to use in your application:

npm install @pantheon-systems/nextjs-kit

Usage

@pantheon-systems/nextjs-kit is available as an ES or UMD module. Components and utility functions are available as named exports with type declarations and TSDoc comments included.

To import a component:

import { Component } from '@pantheon-systems/nextjs-kit';

To apply the styles from the nextjs-kit, import the css into your main _app component

// pages/_app.jsx

import '@pantheon-systems/nextjs-kit/style.css'

...

To import a helper utility:

import { utility } from '@pantheon-systems/nextjs-kit';

API Reference

To see the API reference for @pantheon-systems/nextjs-kit, visit our docs site

Contributing

Please see the Contributing guide in our monorepo to contribute to the project.

  • Components should be created in the src/components.
  • Utilities for use in a Next.js app should be created in the src/lib directory.
  • Utilities for use in this Library that are not exposed as part of the API should be created in the utils directory
  • Follow the established export pattern to maintain proper module resolution.

FAQs

Package last updated on 30 Apr 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.