NebulangNebulang
Docs

Documentation

Everything you need to install and configure Nebulang.

Installation by Platform
No code

In Framer, Nebulang is available as a native component. Just drag and drop the widget directly into your project:

  1. Open your project in Framer
  2. In the sidebar, search for "Nebulang" in the community components
  3. Drag the widget anywhere in your layout
  4. Configure languages, colors, and position directly in the properties panel

No code configuration is needed — all options are visual.

Configuration Attributes

The widget accepts dozens of attributes for full customization. All are optional (default values are applied automatically).

General

AttributeDefaultDescription
available-languages(all)Available languages (empty = all)
selected-languageoriginalInitially selected language
label-originalEnglishLabel for the original language
language-labellocalDisplay local or native language name
translate-titletrueTranslate the page title

Button Appearance

AttributeDefaultDescription
background-color#fffButton background color
text-color#111Button text color
border-radius12Border radius (in px)
border-color—Border color
border-width1Border width (in px)
shadow—Button CSS shadow
icon-modeflagIcon mode (flag, icon, none)
icon-size18Icon size (in px)
flag-radius999Flag radius (999 = circular)
show-labelfalseShow language label on button
show-arrowfalseShow indicator arrow

Dropdown

AttributeDefaultDescription
dropdown-background-color#fffDropdown background color
dropdown-text-color#111Dropdown text color
dropdown-border-color—Dropdown border color
dropdown-icon-modeflagIcon mode in dropdown
show-searchbartrueShow search bar in dropdown
list-height280Maximum list height (in px)
animation-time200Animation duration (in ms)

Typography

AttributeDefaultDescription
font-familysystemFont family
font-size14pxFont size
font-weight500Font weight
Complete Example

An example with all the main options configured:

<script src="https://cdn.nebulapps.com.br/nebulang.js" async></script>

<nebulang-widget
  available-languages="en,es,fr,de,pt,ja,ko,zh"
  selected-language="original"
  label-original="English"
  language-label="local"
  translate-title="true"
  background-color="#ffffff"
  text-color="#1a1a1a"
  border-radius="12"
  border-width="1"
  icon-mode="flag"
  icon-size="18"
  flag-radius="999"
  show-label="true"
  show-arrow="false"
  show-searchbar="true"
  dropdown-background-color="#ffffff"
  dropdown-text-color="#1a1a1a"
  animation-time="200"
  list-height="280"
></nebulang-widget>
Excluding Elements from Translation

To prevent certain elements from being translated, add the notranslate class and the translate="no" attribute:

<span class="notranslate" translate="no">Nebulang</span>

This is ideal for brand names, codes, and content that shouldn't be changed.