Carrots should be considered treats along with fruits. A rabbit should not get such treats until they are old enough to have been introduced to greens as a part of their daily diet. Once a rabbit is used to daily greens, then they can be introduced to treats.
The general rule with treats is no more than 1 tbsp of treat per day. That means just one slice of carrot OR 1 slice of apple (as an example).
I would advise looking for some information online first, rather than trying something and asking people on forums later if it's OK. There's a lot of good information here: https://binkybunny.com/bunnyinfo/ .. that can get you started. The "Rabbit 101" section at https://rabbit.org/ is also a great resource.
Ideally, if you have a question, do research in addition to asking on forums. You may not get an instant reply on forums, and if you're continuing to do an unhealthy/unsafe before for your rabbit, that time lag may be very costly to you and your rabbit.