Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eleventy-plugin-tailwind-components
Advanced tools
A plugin for Eleventy to use Tailwind CSS components built by HyperUI
This plugin gives shortcode access to a (currently) subset of HyperUI by Mark Mead.
Describe how to install your plugin, such as:
npm install eleventy-plugin-tailwind-components
Then, include it in your .eleventy.js
config file:
const tailwind = require("eleventy-plugin-tailwind-components");
module.exports = (eleventyConfig) => {
eleventyConfig.addPlugin(tailwind);
};
{% tailwind card <cardtype> dataObject %}
property | Type | Description |
---|---|---|
title | string | A title for the card |
description | string | a short description to show on the card |
url | string | optional url |
image | string | Url to an image to use in image-based cards |
Card type | accepted data | description |
---|---|---|
gradient | title, description, url | Simple card with gradient border |
image | title, description, image, url | Dark background card with image |
borderImage | title, description, image, url | Simple light background, bordered card |
{% tailwind "alerts" "simple" data %}
property | Type | Description |
---|---|---|
title | string | A title for the card |
color | string | A tailwind color (default: sky) |
description | string | an optional short description to show on the card |
url | string | optional url |
Alert type | accepted data | description |
---|---|---|
simple | text, color, description, url | text alert banner |
{% tailwind "announcements" "top" data %}
property | Type | Description |
---|---|---|
text | string | Text for the announcment |
color | string | A tailwind color (default: sky) |
url | string | optional url |
linkText | string | Text for the optional link |
Announcement type | accepted data | description |
---|---|---|
top | text, description, url, linkText | Announcement banner top of page |
bottom | text, description, url, linkText | Announcement banner sticky bottom of page |
floatingBottom | text, description, url, linkText | Announcement banner sticky bottom of page (not full width) |
FAQs
A plugin for Eleventy to use Tailwind CSS components built by HyperUI
The npm package eleventy-plugin-tailwind-components receives a total of 4 weekly downloads. As such, eleventy-plugin-tailwind-components popularity was classified as not popular.
We found that eleventy-plugin-tailwind-components demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.