# gnostic UI > Build fast business websites with shadcn UI components and blocks for Astro. Install editable source and bring your own brand palette. ## Docs - [Shadcn components. Built for Astro.](https://gnosticai.com/ui): Build fast business websites with shadcn UI components and blocks for Astro. Preview examples, install editable source, and bring your own brand palette. ## Blocks - [Website Blocks for Astro](https://gnosticai.com/ui/blocks): Copy & paste fully built Astro website blocks made with Shadcn UI and Tailwind CSS. - [Article Blocks for Astro](https://gnosticai.com/ui/blocks/article): Astro article layouts with author details, lead images, and reading content. - [Articles Blocks for Astro](https://gnosticai.com/ui/blocks/articles): Astro article listings for posts, notes, and editorial collections. - [Banner Blocks for Astro](https://gnosticai.com/ui/blocks/banner): Astro announcement strips for short messages and a related destination. - [Call to Action Blocks for Astro](https://gnosticai.com/ui/blocks/cta): Call to action sections with a clear next step and optional supporting evidence. - [Contact Blocks for Astro](https://gnosticai.com/ui/blocks/contact): Astro contact form blocks with labelled fields and contact links. Preview layouts and install the source, then connect your form service. - [Content Blocks for Astro](https://gnosticai.com/ui/blocks/content): Astro media-and-text sections for explanations, stories, and project details. - [FAQ Blocks for Astro](https://gnosticai.com/ui/blocks/faqs): Prebuilt Astro FAQ sections for business and product pages. Explore question and answer layouts with expandable content and editable source. - [Features Blocks for Astro](https://gnosticai.com/ui/blocks/features): Astro feature sections with icons, media, and grouped explanations. - [Footer Blocks for Astro](https://gnosticai.com/ui/blocks/footer): Astro site footers with grouped links, brand details, and contact routes. - [Gallery Blocks for Astro](https://gnosticai.com/ui/blocks/gallery): Astro image galleries with a centered project carousel, a hover grid, and text overlays. - [Header Blocks for Astro](https://gnosticai.com/ui/blocks/header): Astro header and navigation blocks with desktop links and mobile menus. Compare layouts and install editable source with the shadcn CLI. - [Hero Blocks for Astro](https://gnosticai.com/ui/blocks/hero): Prebuilt Astro hero sections for business websites, portfolios, and landing pages. Compare layouts, preview examples, and install the source. - [Links Blocks for Astro](https://gnosticai.com/ui/blocks/links): Astro resource lists and link collections with optional destination previews. - [Logos Blocks for Astro](https://gnosticai.com/ui/blocks/logos): Astro logo collections for named customers, partners, and integrations. - [Mobile Menu Blocks for Astro](https://gnosticai.com/ui/blocks/mobile-menu): Astro mobile navigation with nested drawer panels and swipe gestures. - [Pricing Blocks for Astro](https://gnosticai.com/ui/blocks/pricing): Astro pricing sections with plan details, feature lists, and action links. - [Product Blocks for Astro](https://gnosticai.com/ui/blocks/product): Astro product detail sections with media, price text, and actions. - [Products Blocks for Astro](https://gnosticai.com/ui/blocks/products): Astro product collections with images, descriptions, and price displays. - [Reviews Blocks for Astro](https://gnosticai.com/ui/blocks/reviews): Astro testimonial and review blocks with quotes, attribution, and rating displays. Choose a layout and add real customer feedback. - [Services Blocks for Astro](https://gnosticai.com/ui/blocks/services): Astro service sections for local businesses and agencies. Compare prebuilt layouts for service offers, project work, and customer enquiries. - [Team Blocks for Astro](https://gnosticai.com/ui/blocks/team): Astro team grids and carousels with profiles, roles, and social links. ## Components - [UI components for Astro](https://gnosticai.com/ui/components): Modern UI components for Astro and Tailwind CSS. Explore buttons, forms, dialogs, and navigation with live examples and source installation. - [Accordion for Astro](https://gnosticai.com/ui/components/accordion): Build Astro accordions for FAQs and expandable content. Preview examples, install with shadcn, and read the keyboard and composition guide. - [Alert for Astro](https://gnosticai.com/ui/components/alert): Inline Astro feedback with message, action, and semantic status styles. - [Alert Dialog for Astro](https://gnosticai.com/ui/components/alert-dialog): Astro confirmation dialogs for actions that need an explicit decision. - [Aspect Ratio for Astro](https://gnosticai.com/ui/components/aspect-ratio): Astro containers that keep media and embeds at a chosen width-to-height ratio. - [Attachment for Astro](https://gnosticai.com/ui/components/attachment): Astro attachment parts for file and image previews with upload state and actions. - [Avatar for Astro](https://gnosticai.com/ui/components/avatar): Astro profile images and text fallbacks in a shared size system. - [Badge for Astro](https://gnosticai.com/ui/components/badge): Small Astro labels for status, category, and counts. - [Banner for Astro](https://gnosticai.com/ui/components/banner): Astro announcement containers with optional dismissal and stored visibility. - [Bento Grid for Astro](https://gnosticai.com/ui/components/bento-grid): A six-column Astro grid of raised cards, each with a fading visual and a soft top light. - [Breadcrumb for Astro](https://gnosticai.com/ui/components/breadcrumb): Astro navigation links that show a page’s position in a site. - [Button for Astro](https://gnosticai.com/ui/components/button): Astro button components with shadcn styles, sizes, loading states, and link examples. Preview each variant and install the editable source. - [Button Group for Astro](https://gnosticai.com/ui/components/button-group): Joined Astro buttons that share a border and corner radius. - [Call to Action Button](https://gnosticai.com/ui/components/cta-button): Call to action (CTA) buttons drive conversions with a larger surface and hover effects. Built for Astro, Shadcn, and Tailwind CSS. - [Card for Astro](https://gnosticai.com/ui/components/card): Astro card sections with shared spacing, framed layouts, and optional actions. - [Carousel for Astro](https://gnosticai.com/ui/components/carousel): Embla carousel parts for Astro image and content sequences. - [Checkbox for Astro](https://gnosticai.com/ui/components/checkbox): Native Astro checkboxes for independent choices and form values. - [Code Block for Astro](https://gnosticai.com/ui/components/code-block): Composable Astro code blocks with copy controls, line numbers, diff states, and syntax highlighting. - [Collapsible for Astro](https://gnosticai.com/ui/components/collapsible): One expandable Astro panel for optional detail or secondary controls. - [Color Picker for Astro](https://gnosticai.com/ui/components/color-picker): A full-featured color picker for Astro. Multiple color formats such as hex, hsl and oklch, plus alpha control, and more. - [Combobox for Astro](https://gnosticai.com/ui/components/combobox): A searchable Astro choice control with data-slot selection behavior. - [Command for Astro](https://gnosticai.com/ui/components/command): Searchable Astro command lists for navigation and page actions. - [Context Menu for Astro](https://gnosticai.com/ui/components/context-menu): Astro menus that open from a right click or a long press. Built with the popover component, with support for keyboard navigation, multiple selection, and more. - [Copy Button for Astro](https://gnosticai.com/ui/components/copy-button): Astro button with built-in copy to clipboard functionality. Copy text with or bind clipboard behavior to your own button. Built on top of Shadcn UI and Tailwind CSS. - [Dialog for Astro](https://gnosticai.com/ui/components/dialog): Build Astro modal dialogs with titles, descriptions, and actions. Explore shadcn style examples, installation, and keyboard behavior. - [Drawer for Astro](https://gnosticai.com/ui/components/drawer): Astro panel that slides into view from the screen edge, with swipe gestures, snapping, and nested interfaces. - [Dropdown Menu for Astro](https://gnosticai.com/ui/components/dropdown-menu): Astro action menus with item, checkbox, and radio compositions. - [Empty for Astro](https://gnosticai.com/ui/components/empty): Astro empty-state parts for lists, searches, and unfinished setup. - [Expandable for Astro](https://gnosticai.com/ui/components/expandable): Open a panel in place and animate its contents with one of five effects. - [Field for Astro](https://gnosticai.com/ui/components/field): Astro field layouts that connect labels, controls, descriptions, and errors. - [Floating Input for Astro](https://gnosticai.com/ui/components/floating-input): Astro text fields with a label that moves when focused or filled. - [Form for Astro](https://gnosticai.com/ui/components/form): Compose Astro forms with labels, inputs, validation messages, and buttons. See examples and install the source with the shadcn CLI. - [Frame for Astro](https://gnosticai.com/ui/components/frame): Add a frame around components to create a subtle raised surface. - [Glow Button for Astro](https://gnosticai.com/ui/components/glow-button): An Astro button with an animated glow behind the control. - [Glow Card for Astro](https://gnosticai.com/ui/components/glow-card): An Astro container that paints a pointer glow on each child. - [Gradient Button for Astro](https://gnosticai.com/ui/components/gradient-button): A button with an animated gradient border or fill. - [Group for Astro](https://gnosticai.com/ui/components/group): Joined Astro buttons and controls with shared border and radius styles. - [Header for Astro](https://gnosticai.com/ui/components/header): Astro header parts for a site logo, navigation, and actions. - [Horizontal Scroll for Astro](https://gnosticai.com/ui/components/horizontal-scroll): Move content sideways as the user scrolls down the page. Built for Astro with Shadcn & Tailwind CSS. - [Hover Card for Astro](https://gnosticai.com/ui/components/hover-card): Astro link previews that show supporting information on hover or focus. - [Icon for Astro](https://gnosticai.com/ui/components/icon): Astro icon rendering for Lucide symbols and Simple Icons brand marks. - [Image Compare for Astro](https://gnosticai.com/ui/components/image-compare): Astro before-and-after pictures with a pointer and keyboard divider. - [Input for Astro](https://gnosticai.com/ui/components/input): Native Astro inputs with shared focus, error, and disabled styles. - [Input Group for Astro](https://gnosticai.com/ui/components/input-group): Astro inputs with attached text, icons, and action controls. - [Item for Astro](https://gnosticai.com/ui/components/item): Astro content rows for lists, linked summaries, and grouped details. - [Kbd for Astro](https://gnosticai.com/ui/components/kbd): Astro keyboard key labels for shortcuts and instructions. - [Label for Astro](https://gnosticai.com/ui/components/label): Native Astro labels that name and focus form controls. - [Layout for Astro](https://gnosticai.com/ui/components/layout): Astro document parts for the page shell, head, body, and main content. - [Lightbox for Astro](https://gnosticai.com/ui/components/lightbox): Astro image zoom and media previews built on Dialog. - [Lightbox Carousel for Astro](https://gnosticai.com/ui/components/lightbox-carousel): A carousel with items that when clicked, open the carousel in a lightbox dialog, allowing for a larger view with the same carousel layout. - [Lightbox Grid for Astro](https://gnosticai.com/ui/components/lightbox-grid): Responsive Astro gallery grids with normal grid, bento, and masonry layouts. - [Link for Astro](https://gnosticai.com/ui/components/link): Astro anchors for page paths, external URLs, phone numbers, and obfuscated email. - [Logo for Astro](https://gnosticai.com/ui/components/logo): Astro brand containers with optional home-page links. - [Marquee for Astro](https://gnosticai.com/ui/components/marquee): Astro moving content rows with direction, duration, and spacing controls. - [Masonry Grid for Astro](https://gnosticai.com/ui/components/masonry-grid): A responsive Astro masonry layout for cards, images, and other content. - [Meter for Astro](https://gnosticai.com/ui/components/meter): Astro range meters for capacity, usage, and other bounded measurements. - [Native Accordion for Astro](https://gnosticai.com/ui/components/native-accordion): Group native HTML disclosures, choose an initially open answer, and style the summary and indicator. - [Native Select for Astro](https://gnosticai.com/ui/components/native-select): Styled native HTML select controls for Astro forms. - [Navigation Menu for Astro](https://gnosticai.com/ui/components/navigation-menu): Astro navigation groups with links and optional popup panels. - [Notch for Astro](https://gnosticai.com/ui/components/notch): Set a label or action into the corner of a card or image. The notch fits its content. - [Pagination for Astro](https://gnosticai.com/ui/components/pagination): Native Astro page links with current-page and previous/next styles. - [Popover for Astro](https://gnosticai.com/ui/components/popover): Astro floating panels opened by a labelled control. - [Price for Astro](https://gnosticai.com/ui/components/price): Astro parts for amounts, currency labels, and billing periods. - [Progress for Astro](https://gnosticai.com/ui/components/progress): Astro progress tracks for a known value or an unknown completion time. - [Radio Group for Astro](https://gnosticai.com/ui/components/radio-group): Astro radio choices for one selected value in a related set. - [Rating for Astro](https://gnosticai.com/ui/components/rating): Astro star displays for a score, with an optional control to set it. - [Resizable for Astro](https://gnosticai.com/ui/components/resizable): Astro panels with pointer and keyboard size controls. - [Reveal for Astro](https://gnosticai.com/ui/components/reveal): Reveal content as it enters view with fade-in and fade-up animations. - [Scroll Area for Astro](https://gnosticai.com/ui/components/scroll-area): Native scrolling for Astro panels, with custom tracks, keyboard access, and optional edge fades. - [Scroll Spy for Astro](https://gnosticai.com/ui/components/scroll-spy): Track scroll progress on a page or section with visual indicators. Choose from built in variants or add your own. - [Section for Astro](https://gnosticai.com/ui/components/section): Maintain consistent styles across your pages with the Section component. - [Segmented Control for Astro](https://gnosticai.com/ui/components/segmented-control): Shared style recipes for related radio choices, navigation links, and pressed buttons. - [Select for Astro](https://gnosticai.com/ui/components/select): Astro selection popups with labelled options and data-slot behavior. - [Separator for Astro](https://gnosticai.com/ui/components/separator): Astro dividers for visual grouping or a semantic content boundary. - [Sheet for Astro](https://gnosticai.com/ui/components/sheet): Astro side panels for secondary tasks and compact navigation. - [Sidebar for Astro](https://gnosticai.com/ui/components/sidebar): Astro sidebar parts for navigation, grouped links, and layout controls. - [Skeleton for Astro](https://gnosticai.com/ui/components/skeleton): Astro placeholder shapes that reserve space while content loads. - [Slider for Astro](https://gnosticai.com/ui/components/slider): Astro range controls with data-slot pointer and keyboard input. - [Spinner for Astro](https://gnosticai.com/ui/components/spinner): Astro activity indicators for pending controls and page regions. - [Switch for Astro](https://gnosticai.com/ui/components/switch): Astro on/off controls for settings with data-slot state handling. - [Table for Astro](https://gnosticai.com/ui/components/table): Semantic Astro table parts for records and comparisons. - [Table of contents for Astro](https://gnosticai.com/ui/components/toc): Add a table of contents to Astro articles and docs. Explore heading links, composition examples, and source installation. - [Tabs for Astro](https://gnosticai.com/ui/components/tabs): Astro tab panels with pill, inset-outline, and underline variants. - [Textarea for Astro](https://gnosticai.com/ui/components/textarea): Native Astro multiline fields with shared focus and error styles. - [Theme Toggle for Astro](https://gnosticai.com/ui/components/theme-toggle): Add a toggle for light and dark mode switching to your Astro website. Works wiith SSR or on the client. - [Toast for Astro](https://gnosticai.com/ui/components/toast): Astro notifications with status icons, actions, and promise states. - [Toggle for Astro](https://gnosticai.com/ui/components/toggle): Astro pressed-state buttons for local on/off actions. - [Toggle Group for Astro](https://gnosticai.com/ui/components/toggle-group): Astro toggle buttons that share one selection or several selections. - [Tooltip for Astro](https://gnosticai.com/ui/components/tooltip): Astro hints for hover and keyboard focus on a labelled control. - [Video for Astro](https://gnosticai.com/ui/components/video): Play video files and YouTube URLs with shared controls. Use the same component for background video. ## Docs - [Introduction to gnostic UI](https://gnosticai.com/ui/docs): Install Astro components with the shadcn CLI, compose website blocks, and create a brand preset. Start with setup guides and practical examples. - [Agent skills](https://gnosticai.com/ui/docs/agent-skills): Install the Gnostic UI skill to help your coding agent use Astro components, blocks, and design presets. - [Build a local business website with Astro](https://gnosticai.com/ui/docs/astro-business-websites): Plan service pages, choose Astro components and blocks, apply your brand palette, and prepare your business website for organic search. - [Credits](https://gnosticai.com/ui/docs/credits): The projects and people behind the components in gnostic UI. - [Install Gnostic UI in Astro](https://gnosticai.com/ui/docs/installation): Add shadcn style components to Astro with the Gnostic registry. Set up Tailwind CSS, shared styles, and fonts, then install editable component source. - [Port Base-UI To Astro](https://gnosticai.com/ui/docs/base-ui-to-astro): Port Base-UI to Astro with server-rendered markup, data-slot behavior, and shadcn semantic tokens such as --background. - [Create an Astro UI theme](https://gnosticai.com/ui/docs/theme-generator): Use the Gnostic theme generator to choose a style, brand colors, font, and radius. Export a complete preset for shadcn installation in Astro. - [Theme Astro components with your brand](https://gnosticai.com/ui/docs/theming): Choose a complete Gnostic or shadcn preset for Astro. Set component styles, colors, fonts, and radius, then use the same design for preview and installation. ## Examples - [Example overview](https://gnosticai.com/ui/examples/overview): See Astro controls and reusable sections assembled with sample page content. ## Patterns - [Background Patterns for Astro](https://gnosticai.com/ui/patterns): Add modern background patterns to your Astro site. Preview and install with your own theme colors. - [Astro Dot Pattern](https://gnosticai.com/ui/patterns/dot-pattern): A dot background that fills its container. - [Astro Dot Pattern with Glow](https://gnosticai.com/ui/patterns/dot-pattern-with-glow): A dot background that reveals a colored glow under the pointer. - [Astro Grid Pattern](https://gnosticai.com/ui/patterns/grid-pattern): An SVG grid background that fills its container and can highlight selected squares. - [Astro Hexagon Pattern](https://gnosticai.com/ui/patterns/hexagon-pattern): A hexagon background that fills its container. The hover effect is optional. - [Hover Glow Effect For Astro](https://gnosticai.com/ui/patterns/hover-glow): A glow effect that appears when the pointer moves over a container. Highlight content, or reveal hidden patterns. Built with ## Agent skills - [gnostic-ui](https://gnosticai.com/ui/.well-known/agent-skills/gnostic-ui.tar.gz): Builds Astro interfaces with Gnostic UI components, blocks, and design presets. Covers composition, data-slot behavior, Lucide icon imports, the registry CLI, and theme files. Use when adding or composing Gnostic components, installing from the @gnostic registry, creating a design preset, or working in an Astro project that uses gnostic-ui. ## Agent resources - [llms-full.txt](https://gnosticai.com/ui/llms-full.txt): The full Markdown of every page in one file. - [Page Markdown](https://gnosticai.com/ui/index.md): Append `.md` to any page URL to fetch that page as raw Markdown. - [JSON API](https://gnosticai.com/ui/api/docs/pages.json): Page index of the JSON docs API; each entry links the page's JSON and Markdown forms. Described by the OpenAPI document at https://gnosticai.com/ui/openapi.json. - [Agent skills](https://gnosticai.com/ui/.well-known/agent-skills/index.json): Agent Skills discovery index of the skills this site publishes. - [API catalog](https://gnosticai.com/ui/.well-known/api-catalog): RFC 9727 linkset of the APIs documented here. - [AI catalog](https://gnosticai.com/ui/.well-known/ai-catalog.json): ARD manifest of the agent-facing resources on this site (MCP server, skills, APIs). - [agent-readability.json](https://gnosticai.com/ui/agent-readability.json): Manifest of every agent-facing artifact on this site. - [Sitemap](https://gnosticai.com/ui/sitemap.xml): Every indexable page URL with its last-modified date.