Skip to content

Instantly share code, notes, and snippets.

View Mennez's full-sized avatar

Ingmar Kramer Mennez

View GitHub Profile
@Mennez
Mennez / clarity-ng-select.scss
Last active July 27, 2023 13:08
This stylesheet allows you to use ng-select in clarity
/**
Clarity (http://clarity.design) (at the moment of writing) does not have an auto-complete/combobox component.
ng-select is currently one of the more popular angular2/4 packages for adding auto-complete components to an angular project.
This style sheet allows anyone to use ng-select in a angular+clarity project that uses clarity forms.
To get these styles applied to your ng-select component, declare your form component as follows:
<form clrForm>
<clr-input-container>
<label>Foo</label>