Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
/ tailprops Public archive

Empower components with custom props for Tailwind styles πŸ‘½

Notifications You must be signed in to change notification settings

plushdohn/tailprops

Repository files navigation


Empower your framework's components with custom props for Tailwind styles.

Warning

Tailprops is just starting to form. It is not yet ready for production use. We appreciate you tinkering with it, feel free to provide feedback to make it better for everyone.

Overview

Tailprops is a set of tools that allow you to write Tailwind classes in this way:

<div
 tw="flex flex-col bg-red-500"
 tw-desktop="flex-row" // Responsive breakpoints
 tw-dark-focus-hover="bg-blue-500" // Or any combination of Tailwind modifiers
/>

It works as a compile step, hooking into your bundler and transforming the props into the actual Tailwind classes.

Docs

The full documentation is available at tailprops.dev.

About

Empower components with custom props for Tailwind styles πŸ‘½

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /