Skip to content

Instantly share code, notes, and snippets.

@atakde
Created March 2, 2024 22:23
Show Gist options
  • Save atakde/6686d2f3314457fd6e48288a0d4c4f7e to your computer and use it in GitHub Desktop.
Save atakde/6686d2f3314457fd6e48288a0d4c4f7e to your computer and use it in GitHub Desktop.
Termwind example
<?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