Get started
Prompts
Copy. Paste into your agent. Fill in the last line. Works with Claude Code, Cursor, Codex, v0 and Lovable.
Start a project
Use this first. Your agent installs the skill, runs asta-ui init and learns the rules for the rest of the session.
Use Astabyte UI (https://ui.astabyte.com) for the UI in this project: a motion-first React + Tailwind CSS v4 component kit distributed as a shadcn registry. Interactive components come in a Radix and a Base UI build; this project uses Radix.
1. Read the catalogue first: https://ui.astabyte.com/llms.txt (every component with its page and registry URL).
2. Install the agent skill so you keep the rules in later sessions:
```sh
npx skills add astabyteidn/asta-ui
```
3. Set up the project once (runs `shadcn init` if needed and adds the @astabyte registry to components.json):
```sh
pnpm dlx asta-ui@latest init --radix
```
Then add components by name: `pnpm dlx asta-ui@latest add <slug> --radix` (or `pnpm dlx shadcn@latest add @astabyte/<slug>`). Without the CLI, put this in components.json yourself:
```json
{ "registries": { "@astabyte": "https://ui.astabyte.com/r/{name}.json" } }
```
If I'd rather take updates than own the source, use the npm package instead: `pnpm add asta-ui radix-ui`, add `@import "asta-ui/styles.css";` after `@import "tailwindcss";`, and import from `"asta-ui"` (names are on https://ui.astabyte.com/llms.txt).
Prefer an Astabyte UI component over writing a new one whenever one fits, and compose pages from them.
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.
What I'm building: [describe the app or page]Use Astabyte UI (https://ui.astabyte.com) for the UI in this project: a motion-first React + Tailwind CSS v4 component kit distributed as a shadcn registry. Interactive components come in a Radix and a Base UI build; this project uses Base UI.
1. Read the catalogue first: https://ui.astabyte.com/llms.txt (every component with its page and registry URL).
2. Install the agent skill so you keep the rules in later sessions:
```sh
npx skills add astabyteidn/asta-ui
```
3. Set up the project once (runs `shadcn init` if needed and adds the @astabyte registry to components.json):
```sh
pnpm dlx asta-ui@latest init
```
Then add components by name: `pnpm dlx asta-ui@latest add <slug>` (or `pnpm dlx shadcn@latest add @astabyte/<slug>`). Without the CLI, put this in components.json yourself:
```json
{ "registries": { "@astabyte": "https://ui.astabyte.com/r/base/{name}.json" } }
```
If I'd rather take updates than own the source, use the npm package instead: `pnpm add asta-ui @base-ui/react`, add `@import "asta-ui/styles.css";` after `@import "tailwindcss";`, and import from `"asta-ui/base"` (names are on https://ui.astabyte.com/llms.txt).
Prefer an Astabyte UI component over writing a new one whenever one fits, and compose pages from them.
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.
What I'm building: [describe the app or page]Trading dashboard
A live market view: price line, candlesticks, order book and a ticket to place orders.
Build a trading dashboard page: a price chart on top with a segmented control for the time range, candlesticks below it, the order book on the right and a trade ticket under it. Show a toast when an order is placed. Use mock market data that ticks every second.
Use these Astabyte UI components (open each page for its usage example):
- Price chart (`price-chart`): https://ui.astabyte.com/price-chart
- Candlestick chart (`candlestick`): https://ui.astabyte.com/candlestick
- Order book (`order-book`): https://ui.astabyte.com/order-book
- Trade ticket (`trade-ticket`): https://ui.astabyte.com/trade-ticket
- Segmented control (`segmented-control`): https://ui.astabyte.com/segmented-control
- Toast (`toast`): https://ui.astabyte.com/toast
Install them in one go:
```sh
pnpm dlx asta-ui@latest add price-chart candlestick order-book trade-ticket segmented-control toast --radix
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/price-chart.json https://ui.astabyte.com/r/candlestick.json https://ui.astabyte.com/r/order-book.json https://ui.astabyte.com/r/trade-ticket.json https://ui.astabyte.com/r/segmented-control.json https://ui.astabyte.com/r/toast.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init --radix` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Build a trading dashboard page: a price chart on top with a segmented control for the time range, candlesticks below it, the order book on the right and a trade ticket under it. Show a toast when an order is placed. Use mock market data that ticks every second.
Use these Astabyte UI components (open each page for its usage example):
- Price chart (`price-chart`): https://ui.astabyte.com/price-chart
- Candlestick chart (`candlestick`): https://ui.astabyte.com/candlestick
- Order book (`order-book`): https://ui.astabyte.com/order-book
- Trade ticket (`trade-ticket`): https://ui.astabyte.com/trade-ticket
- Segmented control (`segmented-control`): https://ui.astabyte.com/segmented-control
- Toast (`toast`): https://ui.astabyte.com/toast
Install them in one go:
```sh
pnpm dlx asta-ui@latest add price-chart candlestick order-book trade-ticket segmented-control toast
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/base/price-chart.json https://ui.astabyte.com/r/base/candlestick.json https://ui.astabyte.com/r/base/order-book.json https://ui.astabyte.com/r/base/trade-ticket.json https://ui.astabyte.com/r/base/segmented-control.json https://ui.astabyte.com/r/base/toast.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Checkout
Cart to paid: product options, add to cart, free-shipping progress, payment methods, card form and payment status.
Build a checkout flow: a product card with product options and add to cart, a cart with the free-shipping bar, then a checkout step with payment methods and the card form, ending on a payment status screen. Keep state in React, mock the payment.
Use these Astabyte UI components (open each page for its usage example):
- Product options (`variant-picker`): https://ui.astabyte.com/variant-picker
- Add to cart (`add-to-cart`): https://ui.astabyte.com/add-to-cart
- Free shipping bar (`cart-drawer`): https://ui.astabyte.com/cart-drawer
- Payment methods (`pay-methods`): https://ui.astabyte.com/pay-methods
- Card checkout (`card-checkout`): https://ui.astabyte.com/card-checkout
- Payment status (`payment-status`): https://ui.astabyte.com/payment-status
Install them in one go:
```sh
pnpm dlx asta-ui@latest add variant-picker add-to-cart cart-drawer pay-methods card-checkout payment-status --radix
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/variant-picker.json https://ui.astabyte.com/r/add-to-cart.json https://ui.astabyte.com/r/cart-drawer.json https://ui.astabyte.com/r/pay-methods.json https://ui.astabyte.com/r/card-checkout.json https://ui.astabyte.com/r/payment-status.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init --radix` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Build a checkout flow: a product card with product options and add to cart, a cart with the free-shipping bar, then a checkout step with payment methods and the card form, ending on a payment status screen. Keep state in React, mock the payment.
Use these Astabyte UI components (open each page for its usage example):
- Product options (`variant-picker`): https://ui.astabyte.com/variant-picker
- Add to cart (`add-to-cart`): https://ui.astabyte.com/add-to-cart
- Free shipping bar (`cart-drawer`): https://ui.astabyte.com/cart-drawer
- Payment methods (`pay-methods`): https://ui.astabyte.com/pay-methods
- Card checkout (`card-checkout`): https://ui.astabyte.com/card-checkout
- Payment status (`payment-status`): https://ui.astabyte.com/payment-status
Install them in one go:
```sh
pnpm dlx asta-ui@latest add variant-picker add-to-cart cart-drawer pay-methods card-checkout payment-status
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/base/variant-picker.json https://ui.astabyte.com/r/base/add-to-cart.json https://ui.astabyte.com/r/base/cart-drawer.json https://ui.astabyte.com/r/base/pay-methods.json https://ui.astabyte.com/r/base/card-checkout.json https://ui.astabyte.com/r/base/payment-status.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Settings page
Account and preferences with tabs, switches, selects, sliders and a save toast.
Build a settings page with tabs for Profile, Notifications and Appearance. Use fields for profile data, switches for notifications, a select and a slider for appearance, and a save button that shows a toast.
Use these Astabyte UI components (open each page for its usage example):
- Settings panel (`settings-panel`): https://ui.astabyte.com/settings-panel
- Tabs (`tabs`): https://ui.astabyte.com/tabs
- Switch (`switch`): https://ui.astabyte.com/switch
- Select (`select`): https://ui.astabyte.com/select
- Slider (`slider`): https://ui.astabyte.com/slider
- Form field (`field`): https://ui.astabyte.com/field
- Button (`button`): https://ui.astabyte.com/button
- Toast (`toast`): https://ui.astabyte.com/toast
Install them in one go:
```sh
pnpm dlx asta-ui@latest add settings-panel tabs switch select slider field button toast --radix
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/settings-panel.json https://ui.astabyte.com/r/tabs.json https://ui.astabyte.com/r/switch.json https://ui.astabyte.com/r/select.json https://ui.astabyte.com/r/slider.json https://ui.astabyte.com/r/field.json https://ui.astabyte.com/r/button.json https://ui.astabyte.com/r/toast.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init --radix` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Build a settings page with tabs for Profile, Notifications and Appearance. Use fields for profile data, switches for notifications, a select and a slider for appearance, and a save button that shows a toast.
Use these Astabyte UI components (open each page for its usage example):
- Settings panel (`settings-panel`): https://ui.astabyte.com/settings-panel
- Tabs (`tabs`): https://ui.astabyte.com/tabs
- Switch (`switch`): https://ui.astabyte.com/switch
- Select (`select`): https://ui.astabyte.com/select
- Slider (`slider`): https://ui.astabyte.com/slider
- Form field (`field`): https://ui.astabyte.com/field
- Button (`button`): https://ui.astabyte.com/button
- Toast (`toast`): https://ui.astabyte.com/toast
Install them in one go:
```sh
pnpm dlx asta-ui@latest add settings-panel tabs switch select slider field button toast
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/base/settings-panel.json https://ui.astabyte.com/r/base/tabs.json https://ui.astabyte.com/r/base/switch.json https://ui.astabyte.com/r/base/select.json https://ui.astabyte.com/r/base/slider.json https://ui.astabyte.com/r/base/field.json https://ui.astabyte.com/r/base/button.json https://ui.astabyte.com/r/base/toast.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Landing page
A product landing page: navbar, hero with motion buttons, pricing and footer.
Build a landing page for a fictional product: navbar, a hero with a badge, headline and two motion buttons, a pricing section and the footer.
Use these Astabyte UI components (open each page for its usage example):
- Navbar (`navbar`): https://ui.astabyte.com/navbar
- Motion buttons (`motion-button`): https://ui.astabyte.com/motion-button
- Badge (`badge`): https://ui.astabyte.com/badge
- Pricing (`pricing`): https://ui.astabyte.com/pricing
- Footer (`footer`): https://ui.astabyte.com/footer
Install them in one go:
```sh
pnpm dlx asta-ui@latest add navbar motion-button badge pricing footer --radix
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/navbar.json https://ui.astabyte.com/r/motion-button.json https://ui.astabyte.com/r/badge.json https://ui.astabyte.com/r/pricing.json https://ui.astabyte.com/r/footer.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init --radix` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Build a landing page for a fictional product: navbar, a hero with a badge, headline and two motion buttons, a pricing section and the footer.
Use these Astabyte UI components (open each page for its usage example):
- Navbar (`navbar`): https://ui.astabyte.com/navbar
- Motion buttons (`motion-button`): https://ui.astabyte.com/motion-button
- Badge (`badge`): https://ui.astabyte.com/badge
- Pricing (`pricing`): https://ui.astabyte.com/pricing
- Footer (`footer`): https://ui.astabyte.com/footer
Install them in one go:
```sh
pnpm dlx asta-ui@latest add navbar motion-button badge pricing footer
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/base/navbar.json https://ui.astabyte.com/r/base/motion-button.json https://ui.astabyte.com/r/base/badge.json https://ui.astabyte.com/r/base/pricing.json https://ui.astabyte.com/r/base/footer.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Sign-in
Auth screen with inputs, a hold-to-confirm action and the command palette for power users.
Build the auth area: a sign-in screen, an account page with a hold-to-confirm "Delete account" action, and a command palette (Cmd+K) for navigating the app.
Use these Astabyte UI components (open each page for its usage example):
- Sign-in card (`sign-in`): https://ui.astabyte.com/sign-in
- Input (`input`): https://ui.astabyte.com/input
- Checkbox (`checkbox`): https://ui.astabyte.com/checkbox
- Hold to confirm (`hold-to-confirm`): https://ui.astabyte.com/hold-to-confirm
- Command palette (`command-palette`): https://ui.astabyte.com/command-palette
Install them in one go:
```sh
pnpm dlx asta-ui@latest add sign-in input checkbox hold-to-confirm command-palette --radix
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/sign-in.json https://ui.astabyte.com/r/input.json https://ui.astabyte.com/r/checkbox.json https://ui.astabyte.com/r/hold-to-confirm.json https://ui.astabyte.com/r/command-palette.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init --radix` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Radix primitives from the radix-ui package).
- Stay on Radix: install other Astabyte UI components with `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.Build the auth area: a sign-in screen, an account page with a hold-to-confirm "Delete account" action, and a command palette (Cmd+K) for navigating the app.
Use these Astabyte UI components (open each page for its usage example):
- Sign-in card (`sign-in`): https://ui.astabyte.com/sign-in
- Input (`input`): https://ui.astabyte.com/input
- Checkbox (`checkbox`): https://ui.astabyte.com/checkbox
- Hold to confirm (`hold-to-confirm`): https://ui.astabyte.com/hold-to-confirm
- Command palette (`command-palette`): https://ui.astabyte.com/command-palette
Install them in one go:
```sh
pnpm dlx asta-ui@latest add sign-in input checkbox hold-to-confirm command-palette
```
Or with the shadcn CLI:
```sh
pnpm dlx shadcn@latest add https://ui.astabyte.com/r/base/sign-in.json https://ui.astabyte.com/r/base/input.json https://ui.astabyte.com/r/base/checkbox.json https://ui.astabyte.com/r/base/hold-to-confirm.json https://ui.astabyte.com/r/base/command-palette.json
```
If the project isn't set up yet, run `pnpm dlx asta-ui@latest init` first: it runs `shadcn init` when needed and adds the @astabyte registry (Next.js, Vite, React Router, Astro, TanStack Start; Tailwind CSS v4).
Full catalogue for context: https://ui.astabyte.com/llms.txt
Rules:
- Keep the colour tokens (paper, paper-2, ink, ink-2, mute, brand). Don't restyle with hard-coded colours; rebrand by changing the token values in the CSS.
- Keep the motion as it is: transform and opacity only, and the prefers-reduced-motion fallback.
- Keep keyboard, focus and ARIA behaviour (interactive pieces are built on Base UI primitives from the @base-ui/react package).
- Stay on Base UI: install other Astabyte UI components without `--radix` so the project uses one primitive library.
- Use fake data and fake brand names in examples.One component
Every component page has its own prompt. Hit Copy prompt next to the title. Want the rules to stick between sessions? Install the agent skill.