Visually build tailwind css projects 10x faster using AI
Build Tailwind websites visually and ship projects to production in minutes instead of days. Generates code from your designs to export to your favourite frameworks like React, Vue, Angular.

Contrast Angular Bootstrap Select is a form control component that displays a collapsible list of values which can be used in forms, menus or surveys.
Contrast Angular Bootstrap Select enables you to use ↑
and ↓
arrow keys to navigate through options and use ↵
key to select required option (works for stateful select).
To use the Contrast Angular Bootstrap Rating component, you import CDBSelect
into your project.
import {SelectModule } from 'cdbangular';
The CDBSelect
prop takes in an [option] prop whose value is an array of different user options.
<CDBSelect [options]='option' selected="Choose an option"></CDBSelect>
import { Component, OnInit } from '@angular/core';
@Component({ selector: 'app-select', templateUrl: './select.component.html', styleUrls: ['./select.component.scss'],})export class SelectComponent implements OnInit { option = [ { text: 'Option 1', value: '1', }, { text: 'Option 2', value: '2', }, { text: 'Option 3', value: '3', }, ];
constructor() {}
ngOnInit(): void {}}
This section will build on your information about the props you get to use with the Contrast Angular Bootstrap Select component. You will find out what these props do, their default values, and how you would use them in your code.
The table below lists other prop options of the CDBSelect
.
Name | Type | Default | Description | Example |
---|---|---|---|---|
class | String | Adds custom classes | class="myClass" | |
optionClassName | String | Adds custom classes to options | optionClassName="my-class" | |
selected | String | Set default select text content. | selected="Choose one" | |
options | Array of Objects | Sets options array as source of data. This property is used in alternative Select2 version. | options=[options] |
Build Tailwind websites visually and ship projects to production in minutes instead of days. Generates code from your designs to export to your favourite frameworks like React, Vue, Angular.
Trying to create components and pages for a web app or website from
scratch while maintaining a modern User interface can be very tedious.
This is why we created Contrast, to help drastically reduce the amount of time we spend doing that.
so we can focus on building some other aspects of the project.
Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants.
Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for
building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.