0.0.34 • Published 1 year ago

@vue-formify/radix-vue v0.0.34

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

📦 Install

npm i @vue-formify/radix-vue

💻 Usage

You only need to import the root components from this package. Any other part of the components need to be imported from radix-vue.

<script lang="ts" setup>
import { SwitchRoot } from '@vue-formify/ionic-vue';
import { SwitchThumb } from 'radix-vue'

const send = (data: any) => {
	console.log(data);
};
</script>
<template>
	<FormifyForm @submit="send">
		<SwitchRoot
			id="airplane-mode"
			name="airplane"
			class="SwitchRoot">
			<SwitchThumb class="SwitchThumb"/>
		</SwitchRoot>
		<button>Send</button>
	</FormifyForm>
</template>

Available components

  • CheckboxRoot
  • ComboboxRoot
  • PinInputRoot
  • RadioGroupRoot
  • SelectRoot
  • SwitchRoot
  • TagsInputRoot
  • Toggle