Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
How can i edit specific parts of Cards in react-bootstrap?

i'm trying to learn new features and general stuff about react-bootstrap (i'm pretty new to front-end). I was playing around with bootstrap features, and i was trying to customize some stuff on Cards in particular.

I was trying to make each Card component different from each other style-wise. Like for example, i wanted the Header in "primary" style, while the body in "secondary", but i have no idea how to do it. Can you help me? :)

import React from "react";
import { Button, Card } from "react-bootstrap";

const Info = (props) => {
  return (
    <Card border="primary" style={{ width: "18rem" }}>
      <Card.Header> Header </Card.Header>
      <Card.Body >
          Some text
      </Card.Body>
    </Card>
  );
};
export default Info;
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!