github chakra-ui/ark @ark-ui/vue@3.3.0

latest releases: @ark-ui/svelte@5.9.1, @ark-ui/vue@5.24.1, @ark-ui/solid@5.24.1...
15 months ago

Added

  • All Components: Introduced the Provider component for easier access to internal machine
    APIs, improving component composition. See the example below:
<script setup lang="ts">
import { Avatar, useAvatar } from '@ark-ui/vue'

const avatar = useAvatar({
  onStatusChange: (e) => console.log('status changed', e),
})
</script>

<template>
  <Avatar.RootProvider :value="avatar">
    <Avatar.Fallback>PA</Avatar.Fallback>
    <Avatar.Image src="https://i.pravatar.cc/3000" alt="avatar" />
  </Avatar.RootProvider>
</template>

Don't miss a new ark release

NewReleases is sending notifications on new releases.