Component library & style guide

Colors

Brand Colors

Primary

#89181e

Hover

#a83a2e

Dark

#55161c

Light

#e05545

Neutral Colors

gray-100
gray-200
gray-300
gray-400
gray-500
gray-600

Semantic Colors

Success

Warning

Error

Info

Typography

Heading 1

class="heading-1"

Heading 2

class="heading-2"

Heading 3

class="heading-3"

Heading 4

class="heading-4"
Heading 5
class="heading-5"
Heading 6
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"
Link with underline | Subtle link

Buttons

Variants

Semantic

Sizes

With Icons

Forms

This is helper text for the input field.

Password must be at least 8 characters.

Choose a size:

Checkboxes

Checkbox States

Usage Example

Notification Preferences

Code Example

html
<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>

Cards

Simple Card

This is a basic card with just body content. Perfect for simple content blocks.

Card with Header

This card has a header section separated from the body content.

Full Card

This card has all three sections: header, body, and footer.

Hoverable Card

This card has a hover effect for interactive content.

Badges

Badge Variants

Primary Secondary Success Warning Error Info

Usage Example

Recipe: Chocolate Cake

Published

A delicious chocolate cake recipe.

Dessert Baking 30 min

Alerts

Success! Your changes have been saved successfully.
Warning! This action cannot be undone.
Error! There was a problem processing your request.
Info: Your session will expire in 5 minutes.

Utilities

Loading Spinner

Dividers

Content above divider

Content below divider

Focus Ring

Code Blocks

Code blocks automatically adjust to the current theme.

typescript
type User = {
    name: string;
    email: string;
    age: number;
}

const user: User = {
    name: "John Doe",
    email: "john.doe@example.com",
    age: 30,
}

console.log(user);

python
def greet(name):
    print(f"Hello, {name}!")

if __name__ == "__main__":
    greet("World")

Layouts

A collection of tailwinds css and pure css layouts.

.auto-grid-css

Card 1

This is an example of a simple default card in the grid layout.

Card 2

This is an example of a simple default card in the grid layout.

Card 3

This is an example of a simple default card in the grid layout.

Card 4

This is an example of a simple default card in the grid layout.

Card 5

This is an example of a simple default card in the grid layout.


.auto-grid

Card 1

This is an example of a simple default card in the grid layout.

Card 2

This is an example of a simple default card in the grid layout.

Card 3

This is an example of a simple default card in the grid layout.

Card 4

This is an example of a simple default card in the grid layout.

Card 5

This is an example of a simple default card in the grid layout.

Floating Action Button

A floating action button is a button that is used to trigger a action.