Learn R Programming

shiny.semantic (version 0.5.1)

Semantic UI Support for Shiny

Description

Creating a great user interface for your Shiny apps can be a hassle, especially if you want to work purely in R and don't want to use, for instance HTML templates. This package adds support for a powerful UI library Fomantic UI - (before Semantic). It also supports universal UI input binding that works with various DOM elements.

Copy Link

Version

Install

install.packages('shiny.semantic')

Monthly Downloads

1,222

Version

0.5.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakub Nowicki

Last Published

April 5th, 2024

Functions in shiny.semantic (0.5.1)

dropdown_menu

Create Semantic UI Dropdown
file_input

Create Semantic UI File Input
flow_layout

Flow layout
.onLoad

Internal function that expose javascript bindings to Shiny app.
define_selection_type

Define search type if multiple
field

Create Semantic UI field tag
fields

Create Semantic UI fields tag
dropdown_input

Create dropdown Semantic UI component
get_dependencies_path

Get dependencies path
form

Create Semantic UI form tag
grid

Use CSS grid template in Shiny UI
%:::%

::: hack solution to pass CRAN checks
generate_random_id

Some elements require input id, but this does not need to be specified by the user. Thus we assign random value with prefix where needed.
menu_divider

Create Semantic UI Divider Item
grid_container_css

Generate template string representing CSS styles of grid container div.
header

Create Semantic UI header
grid_template

Define a template of a CSS grid
menu_header

Create Semantic UI Header Item
label

Create Semantic UI label tag
menu_item

Create Semantic UI Menu Item
message_box

Create Semantic UI Message box
numeric_input

Create Semantic UI Numeric Input
list_of_area_tags

Generate list of HTML div elements representing grid areas.
parse_val

Parse the `shiny_input` value from JSON
horizontal_menu

Horizontal menu
icon

Create Semantic UI icon tag
menu

Create Semantic UI Menu
extract_icon_name

Extract icon name
get_numeric

Extracts numeric values
progress

Create progress Semantic UI component
render_menu_link

Render menu link
rating_input

Rating Input.
modal

Create Semantic UI modal
list_container

Create Semantic UI list with header, description and icons
shiny_input

Create universal Shiny input binding
get_css_file

Get css file
list_element

Helper function to render list element
get_dependencies

Add dashboard dependencies to html
shiny_text_input

Create universal Shiny text input binding
multiple_checkbox

Create Semantic UI multiple checkbox
register_search

Register search api url
selectInput

Create a select list input control
search_field

Create search field Semantic UI component
show_modal

Show, Hide or Remove Semantic UI modal
semantic_DT

Create Semantic DT Table
textAreaInput

Create a semantic Text Area input
sidebar_panel

Creates div containing children elements of sidebar panel
search_selection_api

Add Semantic UI search selection dropdown based on REST API
semantic_DTOutput

Semantic DT Output
text_input

Create Semantic UI Text Input
shiny.semantic-package

Semantic UI wrapper for Shiny
set_tab_id

Sets tab id if not provided
search_selection_choices

Add Semantic UI search selection dropdown based on provided choices
steps

Show steps
toggle_step_state

Toggle step state
tabset

Create Semantic UI tabs
single_step

Creates a single step to be used inside of a list of steps by the steps function
toast

Show and remove Semantic UI toast
segment

Create Semantic UI segment
update_multiple_checkbox

Update checkbox Semantic UI component
slider_input

Create Semantic UI Slider / Range
theme_selector

Themes changer dropdown
uirender

Render semanticui htmlwidget
update_numeric_input

Change numeric input value and settings
semanticPage

Semantic UI page
warn_unsupported_args

Warn that there are not supported arguments
update_dropdown_input

Update dropdown Semantic UI component
split_args

Split arguments to positional and named
uiinput

Create Semantic UI Input
with_progress

Reporting progress (functional API)
update_action_button

Change the label or icon of an action button on the client
update_progress

Update progress Semantic UI component
updateSelectInput

Change the value of a select input on the client
split_layout

Split layout
vertical_layout

Vertical layout
update_tabset

Change the selected tab of a tabset on the client
update_slider

Update slider Semantic UI component
update_rating_input

Update rating
COLOR_PALETTE

Semantic colors
Progress

Reporting progress (object-oriented API)
calendar

Create Semantic UI Calendar
action_button

Action button
card

Create Semantic UI card tag
button

Create Semantic UI Button
accordion

Accordion UI
cards

Create Semantic UI cards tag
create_modal

Allows for the creation of modals in the server side without being tied to a specific HTML element.
date_input

Define simple date input with Semantic UI styling
display_grid

Display grid template in a browser for easy debugging
checkbox_input

Create Semantic UI checkbox
check_proper_color

Check if color is set from Fomantic-UI palette
attach_rule

Internal function that creates the rule for a specific setting or behavior of the modal.
check_shiny_param

Checks whether argument included as shiny exclusive parameter
digits2words

Helper function that transforms digits to words
SIZE_LEVELS

Allowed sizes
data_frame_to_css_grid_template_areas

Generate CSS string representing grid template areas.
counter_button

Counter Button