1.0.27 • Published 1 year ago

nexpi-ui v1.0.27

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Get Started

nexpi

Npm

npm install nexpi-ui

Import, in layout.tsx

import Theme from "nexpi-ui/lib/Theme";

....

const rootLayout = ({ ...props }: LayoutProps) => {
  return (
    <html lang="en">
      <head>
        <meta charSet="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      </head>
      <body >
        <Theme>
          {props.children}
        </Theme>
      </body>

    </html>
  );
}

Manual

First things first, let's grab the package from the repository:

git clone https://github.com/dukesaturn/nexpi-UI

Next, you'll want to insert the components folder into the app folder of you app.

Import, in layout.tsx

import Theme from "./components/Theme";


....

const rootLayout = ({ ...props }: LayoutProps) => {
  return (
    <html lang="en">
      <head>
        <meta charSet="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      </head>
      <body >
        <Theme>
          {props.children}
        </Theme>
      </body>

    </html>
  );
}
 

Now, it's time to dive in and have some fun with it! Buon divertimento!

Dependencies:

  • react-icons (^5.2.1): A comprehensive library of icons for React.
  • react-syntax-highlighter (^15.5.0): Syntax highlighting component for React.
  • rehype-katex (^7.0.0): A plugin for rehype to support LaTeX math syntax in HTML.
  • remark-math (^6.0.0): A remark plugin to support LaTeX math syntax in Markdown.
  • next-themes (^0.3.0)
  • react-markdown (^9.0.1)
1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago