JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q39814F
  • License MIT

A collection of airline-themed UI web components

Package Exports

  • @ronantakizawa/airpln-ui
  • @ronantakizawa/airpln-ui/dist/index.js
  • @ronantakizawa/airpln-ui/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ronantakizawa/airpln-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Airpln UI Kit

https://ronantakizawa.github.io/airpln-ui/

A sleek, modern UI component library designed specifically for airline and travel-related websites. This kit provides interactive, aviation-themed UI elements with smooth animations and a professional aesthetic.

Screenshot 2025-01-26 at 10 42 33 AM

Installation

Via NPM

npm install @ronantakizawa/airpln-ui

Via CDN

<script type="module">
    import { BurstButton, ProgressButton, OrbitLoading, CloudLoading } 
    from 'https://cdn.jsdelivr.net/gh/ronantakizawa/airpln-ui/airline-components.js';
</script>

Usage

In HTML

<!-- Burst Button -->
<burst-button>Click Me!</burst-button>

<!-- Progress Button -->
<progress-button>Book Flight</progress-button>

<!-- Orbit Loading Animation -->
<orbit-loading></orbit-loading>

<!-- Cloud Loading Animation -->
<cloud-loading></cloud-loading>

In React/JSX

import '@ronantakizawa/airpln-ui'

function App() {
  return (
    <div>
      {/* Burst Button */}
      <burst-button>Click Me!</burst-button>

      {/* Progress Button */}
      <progress-button>Book Flight</progress-button>

      {/* Orbit Loading */}
      <orbit-loading></orbit-loading>

      {/* Cloud Loading */}
      <cloud-loading></cloud-loading>
    </div>
  )
}

In TypeScript React

If you're using TypeScript, add these type declarations to your project:

declare namespace JSX {
  interface IntrinsicElements {
    'burst-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
    'progress-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
    'orbit-loading': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
    'cloud-loading': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
  }
}

Available Components

BurstButton

An interactive button that creates a burst of airplane animations when clicked.

ProgressButton

A button with a smooth airplane animation that transitions into a checkmark on completion.

OrbitLoading

A loading indicator featuring an orbiting airplane animation.

CloudLoading

A scenic loading animation with floating clouds and a flying airplane.

OrbitLoadingCircle

A circular progress indicator with a rotating airplane along its path.

FlightMapGlobe

An interactive 3D globe visualization for displaying flight paths and routes.

PlaneBackground

A decorative background component featuring animated flying planes.

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Customization

You can customize the components using CSS custom properties:

/* Example customization */
burst-button {
    --button-background: linear-gradient(135deg, #38b2ac, #319795);
    --button-hover-transform: scale(1.05);
}

progress-button {
    --button-background: #2b6cb0;
    --success-background: #2f855a;
}