Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simenandre/next-theme-ui

Makes it easier to combine NextJS with Theme UI! 🖍️
https://github.com/simenandre/next-theme-ui

nextjs theme-ui typescript

Last synced: about 24 hours ago
JSON representation

Makes it easier to combine NextJS with Theme UI! 🖍️

Awesome Lists containing this project

README

        

# Theme-UI Components for Next.js

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

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

## Quickstart

```shell
▶ yarn add next-theme-ui
```

Replace these imports:

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

with

```typescript
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.