Sha256: cd480f74af0aa96b6da7971f0a4bc9fb635623163bdff19d0d924e6c855d283d

Contents?: true

Size: 1.33 KB

Versions: 1330

Compression:

Stored size: 1.33 KB

Contents

![label-value-examples](https://github.com/powerhome/playbook/assets/92755007/1810abee-c45a-45ac-bb12-eef88d6a254e)


```swift

VStack(alignment: .leading, spacing: Spacing.small) {
  Text("Patient Profile")
  .pbFont(.title4)
  .padding(.bottom, Spacing.xSmall)

  PBLabelValue(
    "Age",
    variant: .details,
    icon: FontAwesome.user,
    title: "24 yrs old"
  )

  PBLabelValue(
    "Blood",
    variant: .details,
    icon: FontAwesome.tint,
    title: "A +"
  )

  PBLabelValue(
    "Weight",
    variant: .details,
    icon: FontAwesome.weight,
    title: "91 kg"
  )

  PBLabelValue(
    "Height",
    variant: .details,
    icon: FontAwesome.arrowsAltV,
    title: "187 cm"
  )

  Text("Workout Schedule")
  .pbFont(.title4)
  .padding(.top, Spacing.large)
  .padding(.bottom, Spacing.xSmall)

  PBLabelValue(
    "Chest",
    variant: .details,
    icon: FontAwesome.dumbbell,
    description: "6 sets • 8 reps • 40-100 kg",
    title: "Bench Press",
    active: true
  )

  PBLabelValue(
    "Biceps",
    variant: .details,
    icon: FontAwesome.dumbbell,
    description: "5 sets • 12 reps • 20-40 kg",
    title: "Barbell Curl",
    active: true
  )

  PBLabelValue(
    "Back",
    variant: .details,
    icon: FontAwesome.dumbbell,
    description: "8 sets • 8 reps • 40-120 kg",
    title: "Back Squat",
    active: true
  )
}

```

Version data entries

1,330 entries across 1,330 versions & 2 rubygems

Version Path
playbook_ui_docs-13.12.0.pre.alpha.PLAY1051removinghighchartsdependency1551 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui-13.12.0.pre.alpha.PLAY1051removinghighchartsdependency1551 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui_docs-13.12.0.pre.alpha.play900startratingasinput1550 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1550 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui_docs-13.12.0.pre.alpha.play900startratingasinput1543 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1543 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui_docs-13.11.1.pre.alpha.play900startratingasinput1530 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui-13.11.1.pre.alpha.play900startratingasinput1530 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui_docs-13.12.0 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
playbook_ui-13.12.0 app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md