Skip to content
Styleof the Rectangle component

Outlined Card Rectangle

A white card with a subtle border and soft shadow — the classic content container, recolorable on every API call. Build card layouts free with imejis.

Updated

Outlined Card Rectangle style, sample render

What this style sets

A style is the rectangle component with a few properties set. Send these, or start from the style in the editor.

{
  "panel.fillColor": "#ffffff",
  "panel.borderWidth": 1,
  "panel.borderColor": "#E5E7EB",
  "panel.borderRadius": 16,
  "panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}

Good for

  • Content containers in OG images
  • Testimonial and quote cards
  • Stat tile backdrops

Try your own data

Change the outlined card rectangle here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.

Examples

Each example is the same outlined card rectangle with different values. The JSON is what you send.

Testimonial quote card

A wide white card on a soft gray canvas — the container behind an imagined customer quote and avatar.

{
  "panel.fillColor": "#ffffff",
  "panel.borderWidth": 1,
  "panel.borderColor": "#E5E7EB",
  "panel.borderRadius": 20,
  "panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
}

KPI stat tile

A compact tile sized for a single metric and its label in a dashboard snapshot.

{
  "panel.fillColor": "#ffffff",
  "panel.borderWidth": 1,
  "panel.borderColor": "#E5E7EB",
  "panel.borderRadius": 12,
  "panel.boxShadow": "0 4px 12px rgba(0,0,0,0.06)"
}

New values, every render

Recolor per render with '<key>.fillColor'; opacity and borderColor are overridable too. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with the Outlined card style of the Rectangle component (type "rect") filled with my data, then give me a render link I can call with new values.”
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
  -H "dma-api-key: $IMEJIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "panel.fillColor": "#ffffff",
    "panel.borderWidth": 1,
    "panel.borderColor": "#E5E7EB",
    "panel.borderRadius": 16,
    "panel.boxShadow": "0 10px 25px rgba(0,0,0,0.08)"
  }' \
  -o image.png

Other rectangle styles

Outlined Card Rectangle questions

What does the Outlined card style change on the rectangle component?

White card with a subtle border and shadow — content containers. It sets 5 properties on the rectangle component: fillColor, borderWidth, borderColor, borderRadius, boxShadow. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the outlined card rectangle through the API?

Add a rectangle component to a design, then send its data together with the style's properties as flat overrides (for example panel.fillColor and panel.borderWidth) in the render request. Each render can carry different data while keeping the Outlined card look.

Can I change the color per API call?

Yes — '<key>.fillColor' recolors the rectangle per render; opacity and border properties are overridable too.

Can I make rounded cards and pills?

borderRadius rounds the corners — push it high for a fully-rounded pill — and borders and box shadows finish the card look.

Free tools built on it, guides that use it, and the components that sit beside it.