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

https://github.com/haydenbleasel/shadcn-prose

Prose styles for shadcn/ui, including headings, paragraphs, lists and more.
https://github.com/haydenbleasel/shadcn-prose

prose shadcn-ui tailwindcss typography

Last synced: 12 months ago
JSON representation

Prose styles for shadcn/ui, including headings, paragraphs, lists and more.

Awesome Lists containing this project

README

          

# shadcn-prose

A drop-in replacement for `@tailwindcss/typography`, designed for use with shadcn/ui. Includes headings, paragraphs, lists and more.

## Installation

Simply install the package:

```bash
npm i shadcn-prose
```

Then update your `globals.css`:

```css
@import 'shadcn-prose';
```

## Usage

Add a `prose` class to your content and you're good to go:

```tsx


Hello world


This is a paragraph



```