Skip to content

Add official plugins list to @plugin directive section #2158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/docs/functions-and-directives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,11 @@ Use the `@plugin` directive to load a legacy JavaScript-based plugin:
@plugin "@tailwindcss/typography";
```

The `@plugin` directive accepts either a package name or a local path.
The `@plugin` directive accepts either a package name or a local path. Tailwind CSS provides a number of official plugins that you can use with this directive:

- [`@tailwindcss/typography`](https://github.com/tailwindlabs/tailwindcss-typography) - Provides a set of prose classes you can use to add beautiful typographic defaults to any vanilla HTML you don’t control, like HTML rendered from Markdown, or pulled from a CMS.
- [`@tailwindcss/forms`](https://github.com/tailwindlabs/tailwindcss-forms) - Provides a basic reset for form styles that makes form elements easy to override with utilities.
- [`@tailwindcss/aspect-ratio`](https://github.com/tailwindlabs/tailwindcss-aspect-ratio) - Provides a composable API for giving elements a fixed aspect ratio.

<h3 id="theme-function">theme()</h3>

Expand Down