Skip to content

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

License

Notifications You must be signed in to change notification settings

haydenbleasel/shadcn-prose

Repository files navigation

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:

npm i shadcn-prose

Then update your globals.css:

@import 'shadcn-prose';

Usage

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

<div className="prose">
  <h1>Hello world</h1>
  <p>This is a paragraph</p>
</div>

About

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

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project