Tabs in card.pro

Card.pro incorporates the tabset feature. Users can utilize this feature using the tabs argument and the card.pro::tabEntry() function. When enabled, the tab is nested within the card panel, and the header is located within the card header.

Below is an example of tabs enabled within the card panel.

In order to enable the tab feature within the card.pro panel, the use must use the tabs argument and list to declare the content of the tabs. See example below

card.pro::card.pro(
  title = "Sample setup panel",
  
  tabs = list(
    tabEntry(
      "Main",
      sliderInput(
        "bins",
        "Number of bins:",
        min = 1,
        max = 50,
        value = 30
      )
    ),
    tabEntry(
      "Values",
      textInput("nor1", "Enter name"),
      "Content for 1",
      textInput("nor1", "Enter name"),
      "Content for 1",
      actionButton("nor1", "Try click"),
      "sample"
    )
  )
  
)

# NOTE : Remember to nest the card.pro() within moveable() in order to allow drag and drop of cards,