Vote and survey component files, 40 numbers
Forty numbers on vote buttons, polls and survey forms in code, read on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
File names
Eight numbers on how many public voting and survey component files exist, by file name.
7,600 files have LikeButton.tsx in the name, and 116 have NpsSurvey.tsx in the name.
The LikeButton.tsx file leads, and it is 65.5 times as common as NpsSurvey.tsx.
| Statistic | Number |
|---|---|
| LikeButton.tsx | 7,600 |
| Survey.tsx | 6,448 |
| RatingStars.tsx | 3,836 |
| Poll.tsx | 3,348 |
| VoteButton.tsx | 1,334 |
| VoteButton.jsx | 405 |
| UpvoteButton.tsx | 314 |
| NpsSurvey.tsx | 116 |
Vote button
Eight numbers on the words that VoteButton.tsx files use.
The word disabled is in 66.6 in 100 VoteButton.tsx files, and tooltip in 6.2 in 100.
The word disabled leads, and voted follows at 58.9 in 100.
| Statistic | In 100 |
|---|---|
| Disabled | 66.6 |
| Voted | 58.9 |
| Count | 54.4 |
| Loading | 36.5 |
| Toggle | 22.7 |
| Optimistic | 18.4 |
| Login | 13.6 |
| Tooltip | 6.2 |
Poll
Eight numbers on the words that Poll.tsx files use.
The word options is in 56.0 in 100 Poll.tsx files, and chart in 8.8 in 100.
The word options leads, and total follows at 34.9 in 100.
| Statistic | In 100 |
|---|---|
| Options | 56.0 |
| Total | 34.9 |
| Submit | 34.5 |
| Results | 24.3 |
| Percent | 20.7 |
| Multiple | 14.0 |
| Radio | 13.3 |
| Chart | 8.8 |
Survey
Eight numbers on the words that Survey.tsx files use.
The word submit is in 50.7 in 100 Survey.tsx files, and progress in 14.8 in 100.
The word submit leads, and question follows at 38.8 in 100.
| Statistic | In 100 |
|---|---|
| Submit | 50.7 |
| Question | 38.8 |
| Thank | 23.7 |
| Textarea | 20.0 |
| Step | 18.6 |
| Required | 15.9 |
| Rating | 15.2 |
| Progress | 14.8 |
Like button
Eight numbers on the words that LikeButton.tsx files use.
The word liked is in 85.2 in 100 LikeButton.tsx files, and login in 11.1 in 100.
The word liked leads, and icon follows at 58.9 in 100.
| Statistic | In 100 |
|---|---|
| Liked | 85.2 |
| Icon | 58.9 |
| Count | 46.1 |
| Disabled | 40.2 |
| Toggle | 35.8 |
| Loading | 22.1 |
| Optimistic | 12.1 |
| Login | 11.1 |
What is in the file
Forty numbers in one file
Every figure is a line in the CSV, tagged with the group it belongs to and its unit.
Five groups
File names, then vote button, poll, survey and like button components.
Counts, not projects
You get totals and shares and nothing else, with no project, author or site named anywhere.
Easy to cite
Take one figure or the full set, and credit this page along with the day it was read.
How the files were counted
One code search for each file name and each word.
Fix the file name
A word query never crossed file names, so each share is measured against a total we know.
Match the word
A search joined a file name to a word, and it returned how many files held both.
Retry a partial reply
If a search came back partial, it was sent again, up to three more tries once the limit reset.
Divide in code
Code turned every word count into a share of its file total, testing each one before output.
What a vote button has to track
A vote button in the files counted tracks a few states. Of every 100 VoteButton files, 66.6 handle a disabled state, 58.9 a voted state, 54.4 a count and 36.5 a loading state, while 18.4 update optimistically and 13.6 mention login. A button that shows the count, marks a voted state and locks while it saves covers the common parts.
Poll files lean on Options in 56.0 in 100 and Results in 24.3, and survey files on Submit in 50.7 and Thank in 23.7. LikeButton.tsx is the commonest file at 7,600, ahead of VoteButton.tsx at 1,334, so a like is written far more often than a vote.
What these numbers leave out
- These are files and not products, and a component copied into many repositories counts once per copy. A popular starter can lift a share well above real use.
- Many public vote and poll components are samples, tutorials or course work, so a share describes code on a host and not live products.
- The match is made anywhere in the file text. A word in an import, a test or a variable name counts as much as a real button label.
- No age filter exists in the search, so each total blends recent components with long idle ones.
- A word such as count or title may sit in a longer name, so those shares can run high for reasons unrelated to voting.
- Four file names and two words from each word group were counted and left out. Two whole word groups were also left out, one on a base under a hundred files.
- Several of these words can sit in one file, so a sum of shares counts that file more than once.
- A component kept under another file name is not counted here, and many teams name theirs after the product.
- Several groups rest on bases of a few thousand files or fewer, so their shares move a lot between one read and the next.
- Every word searched is English, so components labeled in any other language are mostly missing from these shares.
- A share shows which files hold a word, and it cannot show whether the component is shown to anyone.
- No project, author or host is named in this page.
- A file name search matches any name that contains the text, so LikeButton.tsx also counts longer names around it.
What people ask about voting code
How many public VoteButton.tsx files are there?
1,334 public files have VoteButton.tsx in the name.
How many public Poll.tsx files are there?
3,348 files have Poll.tsx in the name.
How many public Survey.tsx files are there?
6,448 files have Survey.tsx in the name.
How many public LikeButton.tsx files are there?
7,600 files have LikeButton.tsx in the name.
How many vote buttons show a count?
The word count is in 54.4 in 100 VoteButton.tsx files.
How many vote buttons handle a login?
The word login is in 13.6 in 100 VoteButton.tsx files.
How many vote buttons update before the server replies?
The word optimistic is in 18.4 in 100 VoteButton.tsx files.
How many polls show results?
The word results is in 24.3 in 100 Poll.tsx files.
How many surveys use a required field?
The word required is in 15.9 in 100 Survey.tsx files.
How many surveys collect an email address?
The word email is in 10.0 in 100 Survey.tsx files.
How many like buttons keep a count?
The word count is in 46.1 in 100 LikeButton.tsx files.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in vote-and-survey-component-file-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
Feedback form file statistics, 40 numbers
Words in feedback forms kept in code.
Marketing page file statistics, 40 numbers
Words on about, features and customers pages.
Feedback and contact page file statistics, 40 numbers
Page files, their words and how the page kinds compare.
Feedback tool footprint statistics, 40 numbers
Plugins, npm installs and public code files.
Open source feedback tool statistics, 40 numbers
Boards, widgets, licenses and upkeep.
Feature request statistics, 40 numbers
Votes, replies, labels, templates and apps.
Skip the vote button you would build
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.