Documentation

Introduction

Astro UI is a component library for Astro: accessible, token-themed components that render on the server and progressively enhance where a platform primitive needs it.

Philosophy

Server-rendered by default

Components are .astro files that output HTML. There is no client runtime to adopt and no hydration cost to pay.

Platform over abstraction

Native elements own behavior: <dialog> handles modality, <details> handles disclosure, radios handle rating. The library styles and wires — it doesn't reimplement.

Tokens are the API

Theming isn't a config file; it's CSS. Override a custom property and every component that reads it follows — including blocks and future ones.

Guides

Community & support

Astro UI is MIT-licensed open source. Report bugs and request features on GitHub; for Astro framework questions, theAstro Discordis the place.