Skip to content
Proyectos

ddtamn/svelte-audio-ui

Ver en GitHub

Acerca de

A set of accessible and composable Audio UI components.

Creación y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+1
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original
Svelte Audio UI

A set of accessible, composable audio UI components for Svelte.
Built on top of shadcn-svelte. Copy, paste, and own.

Docs · Particles · Issues

License Stars Svelte 5 SvelteKit TypeScript shadcn-svelte Copy Paste Friendly AI Ready

What is this?

Svelte Audio UI is a collection of audio-focused UI components that you install via the shadcn-svelte CLI. No npm package — you own the code.

Components include: AudioPlayer, AudioQueue, AudioTrack, AudioProvider, Knob, Fader, Slider, XYPad, SortableList, and more.

Quick Start

Make sure you have shadcn-svelte initialized, then:

npx shadcn-svelte@latest add https://svelte-audio-ui.vercel.app/r/player.json

Add AudioProvider to your root layout:

<script lang="ts">
  import { AudioProvider } from "$lib/components/ui/audio/provider/index.js";
  let { children } = $props();
</script>

<AudioProvider>{@render children()}</AudioProvider>

Use a component:

<script lang="ts">
  import * as AudioPlayer from "$lib/components/ui/audio/player/index.js";
</script>

<AudioPlayer.Root>
  <AudioPlayer.ControlBar>
    <AudioPlayer.Play />
    <AudioPlayer.SeekBar />
    <AudioPlayer.Volume />
  </AudioPlayer.ControlBar>
</AudioPlayer.Root>

Tech Stack

  • Svelte 5 + SvelteKit
  • TypeScript
  • Tailwind CSS v4
  • bits-ui · shadcn-svelte · svelte-dnd-action

Contributing

See CONTRIBUTING.md.

Acknowledgements

Inspired by audio-ui, a composable audio UI system for React.

This project brings similar ideas into the Svelte ecosystem, adapting the original headless and provider-based architecture for Svelte.

If you're working with React, check out the original project: audio-ui

License

MIT © ddtamn

Explorar proyectos relacionados

Cargando…