Astryx

Astryx Carousel

Navigation 4

About

An Astryx horizontal carousel for browsing overflowing card grids, image galleries, product lists, and related items.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Astryx Carousel to your project and fits it to your theme.

Code

How Astryx Carousel is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client';

import {Carousel} from '@/components/ui/astryx-carousel';
import {Card} from '@astryxdesign/core/Card';
import {Stack} from '@astryxdesign/core/Layout';
import {Text, Heading} from '@astryxdesign/core/Text';

const ITEMS = [
  {title: 'Design', body: 'Create wireframes and prototypes.'},
  {title: 'Develop', body: 'Build components and pages.'},
  {title: 'Test', body: 'Write tests and fix bugs.'},
  {title: 'Deploy', body: 'Ship to production.'},
  {title: 'Monitor', body: 'Track performance and errors.'},
];

export default function CarouselShowcase() {
  return (
    <div
      data-astryx-theme="neutral"
      data-theme="light"
      style={{colorScheme: 'light', display: 'contents'}}>
      <Carousel
        gap={2}
        hasSnap
        hasButtons={false}
        aria-label="Workflow steps"
        style={{maxWidth: 500}}>
        {ITEMS.map(item => (
          <Card key={item.title} padding={3} style={{minWidth: 200}}>
            <Stack direction="vertical" gap={1}>
              <Heading level={5}>{item.title}</Heading>
              <Text type="supporting" color="secondary">
                {item.body}
              </Text>
            </Stack>
          </Card>
        ))}
      </Carousel>
    </div>
  );
}

Dependencies

More by Astryx

View all
  • Astryx Banner

    Astryx Banner

    61
  • Astryx Avatar

    Astryx Avatar

    34
  • Astryx Aspect Ratio

    Astryx Aspect Ratio

    32
  • Astryx Badge

    Astryx Badge

    30
  • Astryx Button Group

    Astryx Button Group

    29
  • Astryx Chat Composer Drawer

    Astryx Chat Composer Drawer

    28
  • Astryx Toggle Button

    Astryx Toggle Button

    17
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    12

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    151
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    391
  • Sidebar

    Sidebar

    437
  • Menu

    Menu

    2
  • Footer Section

    Footer Section

    1
  • Tabs

    Tabs

    35
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    12
  • Pagination

    Pagination

    118