Skip to content
NativeScript Unified

Components

Form controls

Helm styles the browser's own form elements with attributes, and adds checkbox, switch and radio group components.

Input, label and textarea

hlmInput and hlmTextarea are attributes on the native <input> and <textarea> elements. hlmLabel goes on a <label>.

Checkbox

<hlm-checkbox> is a form control. Give it a template reference and read checked() to react to it.

Terms not accepted

Switch

<hlm-switch> exposes checked, checkedChange, disabled and size.

Notifications are off

Radio group

<hlm-radio-group> holds <hlm-radio> items. value on the group is the selected item, and each item has its own value.

Compact
Comfortable
Spacious

hlm-checkbox and hlm-switch implement Angular's ControlValueAccessor, so they also work with ngModel and reactive forms in an app.