Styling with CSS Classes

August 22, 2025

c15t supports multiple syntax approaches to styling components, a simple class based approach, or an object syntax allowing you to combine class names with inline styles.

Class-Based Styling

The simplest way to style a component is by providing class names directly to theme keys:

Object Syntax

You can also use the object syntax with the className property:

Tailwind CSS

c15t supports Tailwind CSS classes, however there may be some cases where you need to add the !important flag to override the default styles.