Astroria
Copied to clipboard!

Content Components

1 min read

Content Components

36 components for rich documentation content.


Code

Syntax-highlighted code blocks with copy button.

function greet(name: string) {
return `Hello, ${name}!`;
}

Callout

Highlight important information with different types.

Note

General information callout.

Pro Tip

Helpful tips for users.

Warning

Warning about potential issues.

Danger

Critical warning - action required.

Info

Additional context information.

Tabs

Organize content in tabbed panels.

bash npm install astroria-docs

Table

Responsive data tables.


Accordion

Collapsible content sections.

What is Astroria?

Astroria is a premium documentation theme for Astro 5.

How to customize?

Edit CSS variables in src/styles/global.css.

Is it free?

Yes, Astroria is open source under MIT license.


Blockquote

Styled quotes with attribution.

Build faster websites with less client-side JavaScript.

Astro Team , Official Docs

API Reference

Document functions and methods.

getCollection getCollection(name: string, filter?: Function): Promise<Entry[]>
Parameters
name string β€” Collection name
filter Function β€” Optional filter function
Returns

Timeline

Display chronological events.

Latest
v1.0 Release

Initial release

Beta

Public beta testing

Alpha

Internal testing


Steps

Numbered step-by-step guides.


InlineCode

Styled inline code snippets.

Use npm install to get started. You can specify language hints like const x = 42 .


CodeGroup

Group multiple code blocks with synchronized tabs.

bash npm install astroria-docs

LinkPreview

Show preview cards on link hover.

Visit Astro Docs


FileTree

Display file/folder structures.

Project Structure

  • src

    • components
    • content
    • layouts
    • index.astro
  • package.json
  • astro.config.mjs

Kbd

Display keyboard shortcuts.

Press Ctrl + K to open search, or Esc to close.


Mark

Highlight important text.

Default yellow highlight or custom colors like blue , red , and purple .


Abbr

Abbreviations with tooltips.

HTML and CSS are fundamental web technologies.


Details

Collapsible content sections.

What is Astroria Docs?

A premium documentation theme built with Astro 5, featuring 70+ components and optimized for performance.

Bordered variant

Content with bordered styling.

Filled variant

Content with filled background.


Figure

Images with captions and attribution.

Sample image
A beautiful landscape photograph Photo by Photographer Name

Footnote

Add footnotes to your content.

Main text with reference

[1]
This is the footnote content explaining additional details. ↩
and continue writing.


Glossary

Define terms with hover tooltips.

SSG

SSG

and

SSR

SSR

are rendering modes.


Changelog

Version history display.

v

patch

DiffViewer

Side-by-side code comparison.

Before
function hello() {
console.log('old');
}
After
function hello() {
console.log('updated');
return true;
}

Mermaid

Render Mermaid diagrams.

graph TD A[Start] --> B{Check} B -->|Yes| C[OK] B -->|No| D[Error]

Math

Display mathematical formulas with KaTeX.

E = mc^2 or inline:

\\sum_{i=1}^n x_i

VideoEmbed

Embed videos from YouTube, Vimeo, or direct sources.


ImageGallery

Responsive image gallery with lightbox.


FeatureMatrix

Compare features across options.

Feature FreeProEnterprise
Unlimited Users
10GB Storage
Priority Support
API Access
Custom Domain

StatsCounter

Animated statistics counters.

10000+
Downloads
70+
Components
99/100
Performance
100%
Satisfaction

TestimonialCarousel

Rotating customer testimonials.

"Best documentation theme I've used. Clean, fast, and feature-rich."

Jane Doe
Jane Doe
Developer

"The component library is incredible. Saved hours of development time."

John Smith
John Smith
Tech Lead

"Performance is outstanding. Our docs load instantly now."

Sarah Johnson
Sarah Johnson
Engineering Manager

FAQAccordion

Frequently asked questions.

Is Astroria free?
Yes, Astroria is open source under MIT license.
Can I customize the theme?
Absolutely! Edit CSS variables and component props to match your brand.
Does it support dark mode?
Yes, with automatic OS detection and manual toggle.
What's the browser support?
All modern browsers including Chrome, Firefox, Safari, and Edge.

PricingTable

Multi-tier pricing display.

Starter

$0 /month

Perfect for personal projects

  • 5 projects
  • 1GB storage
  • Community support
Get Started
Popular

Pro

$29 /month

For professional developers

  • Unlimited projects
  • 50GB storage
  • Priority support
  • Custom domain
Start Free Trial

Enterprise

Custom

For large teams

  • Everything in Pro
  • Unlimited storage
  • 24/7 phone support
  • SLA guarantee
  • Custom integrations
Contact Sales

AlertBanner

Site-wide announcement banner.

πŸŽ‰ New release: Astroria Docs v1.2 is now available!


ProgressBar

Visual progress indicator.

Course Progress 75%

CopyButton

Copy text to clipboard.


ExpandCollapse

Expandable content sections.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.


HighlightBox

Highlighted content boxes.

Key Takeaways

Always test your code thoroughly before deploying to production.

Important Note

This feature requires Astro 5.0 or higher.

Best Practice

Use semantic HTML elements for better accessibility.