Skip to content

Instantly share code, notes, and snippets.

@paulredmond
Created December 27, 2017 18:28
Show Gist options
  • Save paulredmond/03335bbb83886d7f83b4f023e2d60ee4 to your computer and use it in GitHub Desktop.
Save paulredmond/03335bbb83886d7f83b4f023e2d60ee4 to your computer and use it in GitHub Desktop.
US States for a JS Dropdown
var states = [
{
label: 'Alabama',
value: 'AL'
},
{
label: 'Alaska',
value: 'AK'
},
{
label: 'Arizona',
value: 'AZ'
},
{
label: 'Arkansas',
value: 'AR'
},
{
label: 'California',
value: 'CA'
},
{
label: 'Colorado',
value: 'CO'
},
{
label: 'Connecticut',
value: 'CT'
},
{
label: 'Delaware',
value: 'DE'
},
{
label: 'District Of Columbia',
value: 'DC'
},
{
label: 'Florida',
value: 'FL'
},
{
label: 'Georgia',
value: 'GA'
},
{
label: 'Hawaii',
value: 'HI'
},
{
label: 'Idaho',
value: 'ID'
},
{
label: 'Illinois',
value: 'IL'
},
{
label: 'Indiana',
value: 'IN'
},
{
label: 'Iowa',
value: 'IA'
},
{
label: 'Kansas',
value: 'KS'
},
{
label: 'Kentucky',
value: 'KY'
},
{
label: 'Louisiana',
value: 'LA'
},
{
label: 'Maine',
value: 'ME'
},
{
label: 'Maryland',
value: 'MD'
},
{
label: 'Massachusetts',
value: 'MA'
},
{
label: 'Michigan',
value: 'MI'
},
{
label: 'Minnesota',
value: 'MN'
},
{
label: 'Mississippi',
value: 'MS'
},
{
label: 'Missouri',
value: 'MO'
},
{
label: 'Montana',
value: 'MT'
},
{
label: 'Nebraska',
value: 'NE'
},
{
label: 'Nevada',
value: 'NV'
},
{
label: 'New Hampshire',
value: 'NH'
},
{
label: 'New Jersey',
value: 'NJ'
},
{
label: 'New Mexico',
value: 'NM'
},
{
label: 'New York',
value: 'NY'
},
{
label: 'North Carolina',
value: 'NC'
},
{
label: 'North Dakota',
value: 'ND'
},
{
label: 'Ohio',
value: 'OH'
},
{
label: 'Oklahoma',
value: 'OK'
},
{
label: 'Oregon',
value: 'OR'
},
{
label: 'Pennsylvania',
value: 'PA'
},
{
label: 'Rhode Island',
value: 'RI'
},
{
label: 'South Carolina',
value: 'SC'
},
{
label: 'South Dakota',
value: 'SD'
},
{
label: 'Tennessee',
value: 'TN'
},
{
label: 'Texas',
value: 'TX'
},
{
label: 'Utah',
value: 'UT'
},
{
label: 'Vermont',
value: 'VT'
},
{
label: 'Virginia',
value: 'VA'
},
{
label: 'Washington',
value: 'WA'
},
{
label: 'West Virginia',
value: 'WV'
},
{
label: 'Wisconsin',
value: 'WI'
},
{
label: 'Wyoming',
value: 'WY'
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment