Skip to content

🌀 Tailwind for Shiny

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

devOpifex/windy

Repository files navigation

windy

Tailwindcss for shiny.

Currently it sets up a basic scaffold to use tailwind within an R package for a shiny application. All of the heavy lifting is done by tailwind itself.

✔️ now works with R-built UI.

Note

Tailwind is "a utility-first CSS framework packed with classes [...]", all styling is done via classes.

This means there are no out-of-the-box compoenents that we can integrate here, e.g.: no "navbar". These will have to be built by yourself (they are much easier to build than you may think). The package may eventually provide helpers to design those.

Installation

You can install the development version of windy from GitHub with:

# install.packages("remotes")
remotes::install_github("devOpifex/windy")

Usage

  1. Create a package
usethis::create_package("mypkg")
  1. Scaffold
windy::scaffold()
  1. Run
windy::windy_build()

Change your CSS then run windy_build() to rebuild the output CSS, or run windy_watch() to rebuild at every change.

Example

You will find a very basic example at devOpifex/windy.example.

About

🌀 Tailwind for Shiny

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages