vue
<template>
<NbColorStrip v-model="color" label="Theme Color" :options="options" />
</template>
<script setup lang="ts">
import { ref } from 'vue'
const color = ref('')
const options = [
{ value: 'grape', color: '#5c35c4' },
{ value: 'emerald', color: '#4acf7b' },
{ value: 'ocean', color: '#214da6' },
]
</script>View-only mode
Use onlyView to display the selected color without allowing interaction.