Created
March 2, 2024 22:23
-
-
Save atakde/6686d2f3314457fd6e48288a0d4c4f7e to your computer and use it in GitHub Desktop.
Termwind example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use function Termwind\{render}; | |
render(<<<'HTML' | |
<div> | |
<div class="px-4 text-red-800 bg-white uppercase">Termwind</div> | |
<em class="ml-2"> | |
Give your CLI apps a unique look | |
</em> | |
</div> | |
HTML); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment