Alpha Input
An input field for controlling the alpha (opacity) channel.
import { AlphaInput } from '@hueycolor/vue'<script setup>import { ref } from 'vue'import { HueyRoot, AlphaInput, hueyColor } from '@hueycolor/vue'
const color = ref(hueyColor('#1A3263'))</script>
<template> <HueyRoot v-model="color"> <AlphaInput /> </HueyRoot></template>import { AlphaInput } from '@hueycolor/svelte'<script>import { HueyRoot, AlphaInput, hueyColor } from '@hueycolor/svelte'
let color = $state(hueyColor('#1A3263'))</script>
<HueyRoot bind:color> <AlphaInput /></HueyRoot>Extends all standard HTML input attributes (id, placeholder, disabled, etc.).
Value Range
Section titled “Value Range”Displays values from 0 (fully transparent) to 100 (fully opaque). Use the up/down arrow keys to adjust by 1. Hold Shift to adjust by 10.