🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@opensea/next-themes

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opensea/next-themes

ui-kit + next-themes integration

1.0.18
latest
npm
Version published
Weekly downloads
683
54.18%
Maintainers
0
Weekly downloads
 
Created
Source

@opensea/next-themes

npm version

@opensea/next-themes provides a seamless integration of @opensea/ui-kit into a NextJS based project.

Getting started

Install

pnpm add @opensea/next-themes

Usage

import { ThemeProvider, ThemeVariant } from "@opensea/next-themes"

type Props = {
    theme?: ThemeVariant // you might need this if you want to override theme in tests/storybook
    children: React.ReactNode
}

const AppProviders = ({ theme }: Props) => {
  return <ThemeProvider theme={theme}>{children}</ThemeProvider>
}

FAQs

Package last updated on 10 Dec 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