Component library & style guide
Primary
#89181e Hover
#a83a2e Dark
#55161c Light
#e05545 gray-100 gray-200 gray-300 gray-400 gray-500 gray-600 Success
Warning
Error
Info
class="heading-1" class="heading-2" class="heading-3" class="heading-4" class="heading-5" class="heading-6" Lead text - perfect for introductions and important content that needs to stand out.
class="text-lead" Body text - the default paragraph text used throughout the site for regular content.
class="text-body" Small text - useful for secondary information and captions.
class="text-small" Muted text - for less important information.
class="text-muted" This is helper text for the input field.
Password must be at least 8 characters.
Choose a size:
<div class="flex items-center gap-2">
<input
type="checkbox"
id="my-checkbox"
class="checkbox"
/>
<label
for="my-checkbox"
class="label-inline cursor-pointer"
>
Label text
</label>
</div> This is a basic card with just body content. Perfect for simple content blocks.
This card has a header section separated from the body content.
This card has all three sections: header, body, and footer.
This card has a hover effect for interactive content.
A delicious chocolate cake recipe.
Modals use data attributes for simple, intuitive
interactions. Just add data-modal-open="modal-id" to any element!
<Modal id="my-modal" title="Title">
<p>Content here</p>
<div slot="footer">
<button data-modal-close="my-modal">
Close
</button>
</div>
</Modal> <!-- Open modal -->
<button data-modal-open="my-modal">
Open
</button>
<!-- Close specific modal -->
<button data-modal-close="my-modal">
Close
</button>
<!-- Close parent modal -->
<button data-modal-close>
Close
</button>
<!-- Toggle modal -->
<button data-modal-toggle="my-modal">
Toggle
</button> Content above divider
Content below divider
Code blocks automatically adjust to the current theme.
type User = {
name: string;
email: string;
age: number;
}
const user: User = {
name: "John Doe",
email: "john.doe@example.com",
age: 30,
}
console.log(user); def greet(name):
print(f"Hello, {name}!")
if __name__ == "__main__":
greet("World") A collection of tailwinds css and pure css layouts.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.
This is an example of a simple default card in the grid layout.