1 estrella en GitHub = 1 componente nuevo.

Dar una estrella
Navegaciónmobilenavigationbottom bar

Floating Bottom Nav

Barra de navegación fija en la parte inferior para aplicaciones móviles táctiles.

Vista Previa en Vivo

Uso

Copia y pega este código directamente en tu componente React:

tsx
import { BottomNavMobile } from 'react-component-kit-ui/navigation';

<BottomNavMobile>Content</BottomNavMobile>

Instalación Manual

Si no estás usando el paquete npm, crea un archivo nuevo y pega el siguiente código: src/components/BottomNavMobile.tsx + BottomNavMobile.css:

BottomNavMobile.tsx
'use client';

import './BottomNavMobile.css';

/** BottomNavMobile — ported from astro-component-kit. */
export interface BottomNavMobileProps {
}

export function BottomNavMobile({}: BottomNavMobileProps) {
  return (
    <>
      <div className="bottom-nav" data-rk-0f9377="">
        <a href="#" className="active" data-rk-0f9377="">🏠</a>
        <a href="#" data-rk-0f9377="">🔍</a>
        <a href="#" data-rk-0f9377="">🔔</a>
        <a href="#" data-rk-0f9377="">👤</a>
      </div>
    </>
  );
}

export default BottomNavMobile;
BottomNavMobile.css
/* BottomNavMobile — ported from astro-component-kit (navigation/BottomNavMobile.astro) */

.bottom-nav:where([data-rk-0f9377]) { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; height: 60px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; display: flex; justify-content: space-around; align-items: center; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.bottom-nav:where([data-rk-0f9377]) a:where([data-rk-0f9377]) { font-size: 1.25rem; opacity: 0.5; text-decoration: none; transition: 0.3s; }
.bottom-nav:where([data-rk-0f9377]) a.active:where([data-rk-0f9377]) { opacity: 1; transform: translateY(-5px); }

Información Rápida

Categoría
Navegación
Nombre de archivo
BottomNavMobile.tsx
Dependencias
Ninguna — React + CSS puro
Etiquetas
mobilenavigationbottom bar