Interfaces with a
stellar finish

Accessible, themeable React components for crafting polished web apps and design systems. Server-first, built for the Next.js RSC

#eab308
npx astralis-cli create my-app
Scaffold your React project · How the CLI works

Mission control

Recolored by the swatches, no rebuild

Live
+1
Production
Deploys this week1,28418.9% vs last week
Shipped ✦
Nova deployed to production

Why Astralis

Fast pages, components you can see, and nothing to set up.

Static parts send no JavaScript

Cards, tables, text and buttons render on the server and reach the browser as plain HTML. Only the parts people interact with bring JavaScript.

Read the introduction →

DevTools that know your components

Click anything on the page to see which component it is, the props it was given and every prop it takes, while you build.

Set up DevTools →

No extra build step

The styles ship ready-made. Install the package, import one stylesheet, and every prop works.

Installation guide →

85 components

Hover to pause, then find each one in the docs.

Component docs →
Design
Active
+1
pnpm add astralis-ui
Beta
v0.11.1
Pending
@jo

What the code looks like

Forms, loading states and responsive layout, in a few lines each.

One invalid flag restyles the field and swaps the message.

"use client";

import { useState } from "react";
import { Field, Input, Switch, VStack } from "astralis-ui";

export function FieldError() {
  const [invalid, setInvalid] = useState(true);

  return (
    <VStack gap="5" alignItems="stretch" w="full" maxW="xs">
      <Switch checked={invalid} onChange={(e) => setInvalid(e.target.checked)} size="sm">
        Simulate a validation error
      </Switch>

      {/* One `invalid` flag restyles the input and swaps the message. */}
      <Field invalid={invalid} required>
        <Field.Label>Username</Field.Label>
        <Input placeholder="astro_naut" />
        {invalid ? (
          <Field.ErrorText>That username is already taken.</Field.ErrorText>
        ) : (
          <Field.HelpText>Letters, numbers and underscores only.</Field.HelpText>
        )}
      </Field>
    </VStack>
  );
}

More than components

Everything around the library helps you go from idea to shipped page faster.

Ship something stellar

Install the package, add the provider, and every component here is yours.