How to Implement Yes/No or Active/Inactive Field

need help implementing a Yes/No or Active/Inactive field (e.g., for user status). My goal is to have a boolean-like field in the database that displays as a checkbox, toggle, or dropdown in the UI, with values like “Active” (1) or “Inactive” (0).