# Conditional

Canonical page: https://docs.ovok.com/native-sdk/guide/components/helpers/conditional

`Conditional` renders its children when `condition` is true and returns `null`
otherwise. It does not add a wrapper view.

```tsx
<Conditional condition={patient.birthDate != null}>
  <PatientCard.BirthDate>
    <PatientCard.BirthDate.Text birthDate={patient.birthDate!} variant="age" />
  </PatientCard.BirthDate>
</Conditional>
```

Use it for a readable branch in a component tree. Keep the condition explicit and
avoid using it to hide required form validation or authorization decisions.
