A Short Guide to Component Naming

Vuk Dukic
Founder, Senior Software Engineer
December 21, 2022

1. Brevity is Key

Time is scarce, don’t waste it typing out long, descriptive component names. One approach is to give them short, cryptic names that only you will understand.

Need a button? Call it "btn". A modal? How about "md"? You’ll save precious minutes per day and you’ll get the added benefit of being the only person in the codebase who knows where anything is. This is called job security.

Blog image

2. Rank High in Search

When working in large repos with lots of collaborators, it’s important that your component ranks high when people search for anything.

One way to stand out is to include all the possible search terms in your component name. Instead of “SignInButton” you might want call it “SignInButtonAuthenticationCookieUserLogIn” which will ensure that it is returned in almost any related search result.

Blog image

3. Mix Languages

If you work remotely, it’s likely you are on a global team and yet all your components have English names. This slows down your non-english colleagues considerably so you should allow them to use their native tongue when naming components.

You can create an index file that maps all the different languages within your repo. Need a dropdown? Look for “Desplegable”. A form? Search “Форма”. You’ll learn multiple new languages while being more inclusive to your colleagues.

Share this article:
View all articles

Related Articles

Automating Appointment Scheduling with AI and CRM Integrations featured image
January 12, 2026
Appointment scheduling often becomes a hidden operational bottleneck as businesses grow, leading to slow responses, missed opportunities, and frustrated customers. This article explains how AI appointment scheduling, combined with deep CRM integration and intelligent calendar automation, transforms booking into a seamless, conversational experience. By automating availability checks, applying real-world scheduling rules, and updating CRM records automatically, businesses can reduce admin work, improve conversion rates, and deliver a modern customer experience across web, messaging, and voice channels. The result is faster bookings, fewer no-shows, better visibility, and a scalable scheduling process that supports growth.
Service Industry Transformation: AI Chatbots and Automation featured image
January 9, 2026
This post examines how AI chatbots are reshaping service-driven industries such as hospitality, healthcare, and retail. These businesses face constant pressure from high conversation volume, limited staff availability, and rising customer expectations. The article explains how chatbots handle repetitive, predictable interactions like bookings, FAQs, and status updates, allowing human teams to focus on in-person service and complex situations. It emphasizes that automation does not remove the human touch but strengthens it by reducing burnout and improving response times. The summary concludes by describing Anablock’s approach to service industry automation, focusing on task completion, system integration, and smooth escalation to human support.
Enhancing Customer Onboarding with AI Chatbots featured image
January 8, 2026
This article focuses on the critical role onboarding plays in retention and long-term customer success. Many users churn early because they feel overwhelmed, confused, or unsupported during their first interactions with a product or service. The post explains how AI chatbots transform onboarding into an interactive, real-time experience by guiding users step by step, answering questions inside the flow of work, and offering help when users stall. It highlights benefits for both users and internal teams, including faster activation, reduced support tickets, and clearer insight into onboarding friction points. The summary also covers how Anablock designs onboarding assistants using real product data to deliver personalized, context-aware guidance.

Unlock the Full Power of AI-Driven Transformation

Schedule Demo

See how Anablock can automate and scale your business with AI.

Book Demo

Start a Support Agent

Talk directly with our AI experts and get real-time guidance.

Call Now

Send us a Message

Summarize this page content with AI