Guides
This page is a practical playbook for shipping production-ready UI with Altech UI. Use it as a shared standard so developers make consistent decisions across features.
What this page is for
- Align implementation style across the team.
- Reduce visual and behavioral inconsistencies between screens.
- Improve accessibility and maintainability by default.
Recommended workflow
- Start with semantic structure and accessible states.
- Use design tokens for visual values (not hardcoded colors).
- Compose existing primitives before creating new variants.
- Add motion only when it supports clarity, not decoration.
- Validate behavior in light and dark themes before shipping.
Developer rules
- Prefer semantic HTML and add ARIA only when native semantics are not enough.
- Keep animations short (about
150-250ms) and avoid distracting motion. - Respect
prefers-reduced-motionfor users who disable animations. - Avoid one-off component forks; extend through composition and tokens.
- Keep state styles explicit:
hover,focus-visible,disabled,error, andloading.
Pre-merge checklist
- Keyboard navigation works end-to-end.
- Focus indicators are visible and consistent.
- Text, borders, and surfaces have sufficient contrast.
- Components remain readable and usable in both light and dark modes.
Last updated on