Crate leptos_twelements

Source
Expand description

A UI component library for Leptos, based on Tailwind Elements. See README

Modules§

components
Tailwind Elements Components.
methods
Methods are utilities that can be useful independent from components.
utils
Utility functions and extension traits for working with signals in Leptos.

Functions§

TwElementsSetup
Add this component to your app to initialize Tailwind Elements
install_files_to
Call this from your build.rs to install the Tailwind Elements files to the given target directory. This is necessary so that they can be referenced from your tailwind.config.js.