How to centre Card Title #4533
Answered
by
Coderxrohan
chrishj59
asked this question in
PrimeReact
-
|
I am attempting to centre the card title using Pass Through. |
Beta Was this translation helpful? Give feedback.
Answered by
Coderxrohan
Jan 5, 2026
Replies: 1 comment 1 reply
-
The easiest way is to center it using text alignment via Pass Through:If you want more control (icons, custom layout, etc.), you can also pass a custom title: The first approach is usually enough if you just want centered text |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrishj59
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easiest way is to center it using text alignment via Pass Through:
If you want more control (icons, custom layout, etc.), you can also pass a custom title:
The first approach is usually enough if you just want centered text