• Getting Started
  • Components
  • Github
  • Go pro
energyGetting started
  • Introduction
dComponents
  • Button Components
  • Grid Components
  • Input Components
  • Layout Components
  • Toast Components
  • Widget Components
  • Alert
  • Badge
  • Breadcrumb
  • Callout
  • Card
  • Carousel
  • Charts
  • Collapse
  • CreateElement
  • DataTable
  • Dropdown
  • ElementCover
  • Embed
  • Fade
  • Form
  • Icon
  • Img
  • Jumbotron
  • Link
  • ListGroup
  • Media
  • Modal
  • Nav
  • Navbar
  • Pagination
  • Popover
  • Progress
  • Spinner
  • Switch
  • Tabs
  • Toggler
  • Tooltip

Toggler

Wrapper component for toggling button. Use 'inNavbar'/'inHeader' styling or pass your custom styling.


# Toggler API

NameRequiredTypeDefault Value
taganybutton
main HTML tag name
childrenany
children components
classNamestring
user classes for the main HTML tag
innerRef(Function | string | object)
ref to the main tag
inHeaderboolean
sets style compatible to CHeader component
inNavbarboolean
sets style compatible to bootstrap navbar (CNavbar component)

  • Components
    • Usage
      • Features
      • API
CoreUI © 2020 creativeLabs.core-logo