Skip to main contentModule text
Source - text_base
- Declarative text helper that matches Tailwind’s
text-base default usage in shadcn recipes. - text_code_wrap
- Declarative helper intended for code-like inline text.
- text_nowrap
- Declarative text helper that matches Tailwind’s
whitespace-nowrap semantics. - text_prose
- Declarative text helper intended for typography pages (
prose-like body copy). - text_prose_bold
- Bold variant of
text_prose, intended for typography table headers (<th className="... font-bold">). - text_prose_bold_nowrap
- Bold variant of
text_prose_nowrap. - text_prose_break_words
text_prose variant that matches Tailwind’s break-words intent:
prefer wrapping at word boundaries, but allow breaking long tokens when needed.- text_prose_nowrap
text_prose variant that forces single-line layout (whitespace-nowrap-like behavior).- text_sm
- Declarative text helper that matches Tailwind’s
text-sm default usage in shadcn recipes. - text_truncate
- Declarative text helper that matches Tailwind’s
truncate semantics: - text_xs
- Declarative text helper that matches Tailwind’s
text-xs default usage in shadcn recipes.