next-theme-ui
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Theme-UI Components for Next.js

This package contains a few small components to help using Theme UI with Next.js.

Specifically, this means <Link> and <NavLink>. If you use the components from this package, the components will be using <Link /> components from next/link instead of a regular <a />.

Quickstart

▶ yarn add next-theme-ui

Replace these imports:

import { Link } from '@theme-ui/components';
import { NavLink } from '@theme-ui/components';

with

import { Link } from 'next-theme-ui';
import { NavLink } from 'next-theme-ui';

Contribute

Please open issues if you have questions or issues. I'm trying to keep this package as small as possible, so before adding any components, please open an issue we can discuss.

Package Sidebar

Install

npm i next-theme-ui

Weekly Downloads

2

Version

1.3.0

License

Apache-2.0

Unpacked Size

42.7 kB

Total Files

21

Last publish

Collaborators

  • simenandre
  • jsrugland
  • moripen
  • xillians
  • brustad
  • braaar
  • bjerk-bot