--- // Port of preview/pages/all-elements.html — a kitchen-sink of every component. import DefaultLayout from '@shared/layouts/DefaultLayout.astro'; import Button from '@shared/components/Button.astro'; import Alert from '@shared/components/Alert.astro'; import Badge from '@shared/components/ui/Badge.astro'; import Progress from '@shared/components/ui/Progress.astro'; import Select from '@shared/components/ui/Select.astro'; import Check from '@shared/components/ui/form/Check.astro'; import Nav from '@shared/components/ui/Nav.astro'; import Breadcrumb from '@shared/components/ui/Breadcrumb.astro'; import Pagination from '@shared/components/ui/Pagination.astro'; import Avatar from '@shared/components/ui/Avatar.astro'; import Icon from '@shared/components/Icon.astro'; import Dropdown from '@shared/components/ui/Dropdown.astro'; import Accordion from '@shared/components/ui/Accordion.astro'; import Spinner from '@shared/components/ui/Spinner.astro'; import Rating from '@shared/components/ui/Rating.astro'; import Steps from '@shared/components/ui/Steps.astro'; import StatusDot from '@shared/components/ui/StatusDot.astro'; import Toast from '@shared/components/ui/Toast.astro'; import InputIcon from '@shared/components/ui/form/InputIcon.astro'; import InputGroup from '@shared/components/InputGroup.astro'; import Range from '@shared/components/ui/Range.astro'; import Tag from '@shared/components/ui/Tag.astro'; import Ribbon from '@shared/components/ui/Ribbon.astro'; import Flag from '@shared/components/ui/Flag.astro'; import Payment from '@shared/components/ui/Payment.astro'; import Timeline from '@shared/components/ui/Timeline.astro'; import Empty from '@shared/components/ui/Empty.astro'; import NavSegmented from '@shared/components/ui/NavSegmented.astro'; // Code-block content lives in the frontmatter so Astro does not try to evaluate // its `${name}` / `{ }` as expressions; injected verbatim via set:html. const codeExample = `// JavaScript example function greetUser(name) { console.log(\`Hello, \${name}!\`); return true; }`; ---

Typography

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This is a lead paragraph with larger text.

This is a regular paragraph with bold text, italic text, and underlined text.

This is small muted text.

Primary text color

Success text color

Danger text color

Buttons

Standard Buttons

Button Sizes

Icon Buttons

Simple Card

This is a simple card with header and body content.

Card with Footer

This card includes a footer section.

Alerts

Badges

Progress Bars

Form Elements

Navigation Elements

Tabs

Pills Navigation

Breadcrumb

Pagination

{/* active-item="2" is a STRING in Liquid; `i == "2"` never matches the integer index, so no page renders active — reproduced by passing a string. */}

Pagination with Text

Lists

Unordered List

  • First item
  • Second item
  • Third item

Ordered List

  1. First item
  2. Second item
  3. Third item

Table

Name Email Status
John Doe john@example.com
Jane Smith jane@example.com
Bob Johnson bob@example.com

Avatars

Icons

Dropdowns

Interactive Elements

Accordion

Spinners

Rating

Steps

Status Elements

Status Dots

Toast Notifications

Enhanced Forms

Input with Icons

Input Groups

Range Slider

Tags & Labels

Tags

Ribbons

Media Elements

Flags

Payment Icons

Timeline

Empty State

Modals

Button Groups

Basic Button Group

Button Toolbar

Vertical Button Group

Segmented Navigation

Basic Segmented

With Icons

With Emojis

With Icons and Text

Collapse

Basic Collapse

This is collapsed content that can be toggled. It's hidden by default and shown when the button is clicked.

Multiple Targets

First collapsible content.
Second collapsible content.

Tooltips & Popovers

Tooltips

Popovers

List Groups

Home
Active item
Settings
Profile
Disabled item

Content Elements

Blockquote

This is a blockquote example with some sample text to demonstrate the styling.

Someone famous in Source Title

Code Block

Inline Elements

This paragraph contains inline code, Ctrl + S keyboard shortcut, and highlighted text.