
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
@beeq/tailwindcss
Advanced tools
BEEQ TailwindCSS is a preset that adds BEEQ's opinionated TailwindCSS configuration to your application.
Before starting to use BEEQ TailwindCSS, you need to have installed:
Make sure that Tailwind CSS directives are added to your main CSS file:
@tailwind base;
@tailwind components;
@tailwind utilities;
npm i -D @beeq/tailwindcss
const beeqPreset = require('@beeq/tailwindcss');
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
presets: [beeqPreset],
...
}
or with TypeScript:
import { default as beeqPreset } from '@beeq/tailwindcss';
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
presets: [beeqPreset],
...
}
The preset includes a CSS reset that removes all the default browser styles. If you want to use your own reset, you can add your own CSS reset code to the @base layer of TailwindCSS:
@tailwind base;
@layer base {
/* Your CSS reset code */
}
@tailwind components;
@tailwind utilities;
The preset does not include the fonts by default, but you can add them in your CSS entry file or use your own custom fonts:
/* BEEQ Outfit font */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;600;700&display=swap");
/* ENDAVA Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
The preset includes a typography plugin that adds a set of default typography styles to your application. It is not enabled by default, so you need to add it to your tailwind.config.js file:
const beeqPreset = require('@beeq/tailwindcss');
const { TYPOGRAPHY_DEFAULT } = require('@beeq/tailwindcss');
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
presets: [require('@beeq/tailwindcss')],
...
plugins: [
plugin(function ({ addBase }) {
// Use the default typography styles
addBase({ ...TYPOGRAPHY_DEFAULT });
}),
],
}
or via TypeScript:
import plugin from "tailwindcss/plugin";
import { default as beeqPreset, TYPOGRAPHY_DEFAULT } from "@beeq/tailwindcss";
import type { Config } from "tailwindcss";
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
presets: [beeqPreset],
theme: {},
plugins: [
plugin(function ({ addBase }) {
// Use the default typography styles
addBase({ ...TYPOGRAPHY_DEFAULT });
}),
],
corePlugins: {
preflight: false,
},
} satisfies Config;
Note: you can always override this styles by adding your own CSS code to the
@baselayer of TailwindCSS.
Your can find more details about TailwindCSS presets in the official documentation.
FAQs
BEEQ's opinionated TailwindCSS configuration
We found that @beeq/tailwindcss demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.