zanwei GitHub avatar

status-indicator-web-component

zanwei

A dependency-free Web Component that renders five statuses as dots with a spring-driven morph to labeled pills, supporting click, drag, keyboard navigation, and live theming.

Stars

33

7-day growth

No data

Forks

1

Open issues

0

License

MIT

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It delivers a polished, interruptible animation with full accessibility and zero runtime dependencies, making it a lightweight yet feature-rich UI primitive for status selection.

Who it is for

  • Web developers building task or project management interfaces
  • Accessibility-focused teams seeking keyboard-navigable components
  • Design system maintainers needing a themable, standard-compliant web component
  • Developers who prefer no-build-step, dependency-free custom elements

Use cases

  • Displaying and selecting task statuses (backlog, in-progress, done) in kanban boards or issue trackers
  • Replacing native select dropdowns with a more visual, interactive status picker
  • Embedding in web applications that require real-time state transitions with smooth animation
  • Integrating into design systems via CSS custom properties for brand-consistent styling

Strengths

  • Interruptible spring animation that retargets mid-flight, providing a fluid user experience
  • Full keyboard support with radiogroup semantics, arrow keys, and Home/End for accessibility
  • Zero runtime dependencies and no build step – works directly as a module script
  • Live theming via CSS custom properties with no reload required

Considerations

  • Only five default statuses are provided (though the statuses property allows customization)
  • The exact design look relies on the Inter font family being loaded on the host page
  • Spring parameters (response 0.42s, ζ 0.86) are fixed and not documented as user-configurable apart from the spring property

README quick start

Usage

Description

A dependency-free status indicator Web Component with spring-driven dot-to-pill transitions.

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
yetone
Featured
yetone GitHub avatar

kill-ai-slop

Kill AI Slop is a multilingual field guide and agent skill that catalogues 33 common AI-generated design tells with interactive before-after demos, and provides a tool to scan and fix web projects.

AI & Machine LearningAI Agents
805