@ark-ui/vue
TypeScript icon, indicating that this package has built-in type declarations

0.11.0 • Public • Published

Welcome to Ark UI

Ark UI is a headless, open-source UI library with over 30+ components designed for building reusable, scalable Design Systems. It supports a wide range of JavaScript frameworks, offering dedciated packages for each supported framework.

Supported Frameworks

Ark UI is available for the following JavaScript frameworks:

  • React: @ark-ui/react
  • Solid: @ark-ui/solid
  • Vue: @ark-ui/vue

Available Components

Installation

To install @ark-ui/vue, run the following command:

npm install @ark-ui/vue

or with yarn:

yarn add @ark-ui/vue

Usage

To use a component from @ark-ui/vue, import it and include it in your application:

<script setup lang="ts">
import { Slider, type SliderProps } from '@ark-ui/vue'
import { ref } from 'vue'

const sliderValue = ref<SliderProps['modelValue']>([42])
</script>
<template>
  <Slider.Root :min="0" :max="100" v-model="sliderValue">
    <Slider.Label>Label</Slider.Label>
    <Slider.ValueText />
    <Slider.Control>
      <Slider.Track>
        <Slider.Range />
      </Slider.Track>
      <Slider.Thumb :key="0" :index="0" />
    </Slider.Control>
    <Slider.MarkerGroup>
      <Slider.Marker :value="25">25</Slider.Marker>
      <Slider.Marker :value="50">50</Slider.Marker>
      <Slider.Marker :value="75">75</Slider.Marker>
    </Slider.MarkerGroup>
  </Slider.Root>
</template>

Documentation

For more detailed documentation and examples, please visit the official documentation.

Roadmap

You can request, vote for, and check upcoming features on our roadmap.

Contribution

We welcome contributions to Ark UI. Please read our contributing guidelines for more information on how to contribute.

License

This project is licensed under the terms of the MIT license.

Package Sidebar

Install

npm i @ark-ui/vue

Homepage

ark-ui.com

Weekly Downloads

2,133

Version

0.11.0

License

MIT

Unpacked Size

908 kB

Total Files

1306

Last publish

Collaborators

  • schroetier
  • segunadebayo