4. Make a Card Component From Scratch

You'll build a reusable account card for a banking app. It has an icon on the left, account name and number in the middle, and a balance on the right. You make it once, turn it into a component, then reuse it with different text in each instance.

Account Card component diagram
Account Card structure: Icon (left), account info stacked vertically (middle), balance (right) — all connected with Space Between alignment. Made as a component with editable text properties.

Part 1 — Create the card container

  1. Press F to make a Frame
  2. Draw a rectangle roughly 350 wide and 80 tall
  3. In the right panel, under Appearance, set Corner radius to 16
  4. Under Fill, click the white square and choose a color (or leave white for a banking card look)
  5. Press Shift + A to activate Auto Layout
  6. Set direction to Horizontal
  7. Set Padding to 16 on all four sides
  8. Set Gap to 12
  9. Set vertical alignment to Center (so items sit in the vertical middle of the card)

Part 2 — Add the icon

  1. Inside the card frame, press R for Rectangle or O for Circle
  2. Make it 40 × 40
  3. Give it a fill color (e.g. a brand blue like #1A56DB)
  4. Optionally press T and type a letter on top of the shape (like "C" for Chase) — use Bold, White, 18px

Part 3 — Add the account info (middle section)

  1. Press T and type "Checking Account"
  2. Set font to Noto Sans Bold, 16px
  3. Press T again and type "••••1234"
  4. Set this one to Noto Sans Regular, 12px, color grey (e.g. #777)
  5. Select both text layers
  6. Press Shift + A to wrap them in a vertical Auto Layout group
  7. Set Gap to 2

Part 4 — Add the balance (right side)

  1. Press T and type an amount like "$2,450.82"
  2. Set font to Noto Sans Bold, 16px

Part 5 — Space everything with Space Between

  1. Your card now has 3 items: Icon, Text Group, Balance
  2. Select the Icon and the Text Group together
  3. Right-click → Wrap in Auto Layout (or Ctrl + Alt + G)
  4. You now have 2 items: the left group, and the Balance
  5. Select the main card frame
  6. In Auto Layout settings, change alignment to Space between
  7. Icon and text sit on the left, balance sits on the right

Part 6 — Make it a Component

  1. Select the entire card frame
  2. Right-click → Create Component (or press Ctrl + Alt + K on Windows, Cmd + Option + K on Mac)
  3. The frame turns purple in the Layers panel
  4. Double-click the name in the Layers panel and rename it "Account Card"

Part 7 — Add text properties

  1. Double-click into the Main Component (the one with the filled purple diamond)
  2. Click the "Checking Account" text
  3. In the right panel, find the Properties section
  4. Click the + icon → choose Text property
  5. Name it "Account Name"
  6. Repeat for the account number text: name it "Account Number"
  7. Repeat for the balance text: name it "Balance"
  8. Press Escape to exit the Main Component

How to use your component

  1. Open the Assets panel on the left (or press Alt + 2)
  2. Find "Account Card"
  3. Drag it onto your canvas
  4. With the instance selected, look at the right panel
  5. Your text properties (Account Name, Account Number, Balance) appear as editable fields
  6. Type new values — only that instance changes

Tip

To change the icon color per card later, you can make the icon a separate component with color variants. But that's for later. For now, if you need a different color, just duplicate the Main Component and change the fill color there.