Html.tailus.io
Reusable Tailwind Component classes Free up your time with pre-built classes that update site-wide automatically. Focus on building, not fixing.
Install / Use
/learn @Tailus-UI/Html.tailus.ioREADME
Reusable Tailwind Component classes
Free up your time with pre-built classes that update site-wide automatically. Focus on building, not fixing.
pnpm install
pnpm dev
Documentation
Project Structure
The project is built with Astro, which searches for .astro or .md files in the src/pages/ directory. Each page is displayed as a route based on its file name.
Astro/React/Vue/Svelte/Preact components must be placed in the src/components/ directory.
Any static assets, like images, can be placed in the public/ directory.
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :----------------------| :----------------------------------------------- |
| pnpm install | Installs dependencies |
| pnpm dev | Starts local dev server at localhost:3000 |
| pnpm build | Build your production site to ./dist/ |
| pnpm preview | Preview your build locally, before deploying |
| pnpm astro ... | Run CLI commands like astro add, astro check |
| pnpm astro -- --help | Get help using the Astro CLI |
