blossom-carousel
Skill2 starsChanged 5 months agoMITView on GitHub
Carrusel nativo con scroll horizontal + snap, sin JS pesado, gratis en táctil. Componentes para React, Vue y Svelte. Útil para landings, galerías y agencias. Cargá al construir un slider/carousel/galería horizontal.
In this repository25 other files it gives its agents.
- accessibility-wcagSkill
- agent-orchestrationSkill
- backend-api-designSkill
- backend-data-modelingSkill
- backend-observabilitySkill
- backend-performanceSkill
- browser-qaSkill
- commit-hygieneSkill
- discovery-intakeSkill
- frontend-component-patternsSkill
- geo-seoSkill
- gh-cliSkill
- glosario-vivoSkill
- llm-councilSkill
- pedido-claroSkill
- ponytailSkill
- reporte-comprensibleSkill
- sdd-flowSkill
- secure-by-defaultSkill
- security-authn-authzSkill
- security-owaspSkill
- security-secretsSkill
- security-supply-chainSkill
- turtle-protocolSkill
- ui-ux-pro-maxSkill
The file
Files
Blossom carousel
Cuándo usar
- Galería horizontal en landing.
- Carrusel de testimonios, productos, casos.
- Cualquier slider donde el gesto táctil deba ser nativo (no simulado).
Si necesitás autoplay complejo, paginación con dots animados o transiciones 3D, usá Swiper. Blossom es para lo simple, rápido y accesible.
Idea
Scroll horizontal del navegador + scroll-snap-type. Sin listeners de drag,
sin librerías de touch. Animaciones nativas, momentum nativo, accesible por defecto.
CSS base
.carousel {
display: flex;
gap: 1rem;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * {
flex: 0 0 auto;
scroll-snap-align: start;
}React
export function Carousel({ children }: { children: React.ReactNode }) {
return <div className="carousel" role="region" aria-label="Carrusel">{children}</div>
}Vue
<template>
<div class="carousel" role="region" aria-label="Carrusel">
<slot />
</div>
</template>Svelte
<div class="carousel" role="region" aria-label="Carrusel">
<slot />
</div>Botones prev/next (opcional)
const scrollByCard = (el: HTMLElement, dir: 1 | -1) => {
const card = el.querySelector(':scope > *') as HTMLElement | null
if (!card) return
el.scrollBy({ left: dir * (card.offsetWidth + 16), behavior: 'smooth' })
}A11y
role="region"+aria-labelen el contenedor.- Cada slide focusable (
tabindex="0") si tiene contenido interactivo dentro. - Botones prev/next con
aria-label="Anterior"/"Siguiente". - Indicar progreso si hay >5 slides: "3 de 8".
Reglas
- Sin librerías salvo que necesites algo que CSS no da.
- Sin altura fija por slide; dejar que el contenido mande.
- Lazy load de imágenes (
loading="lazy").
Relacionadas
[[ui-ux-pro-max]] · [[accessibility-wcag]]
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

