Learn R Programming

⚠️There's a newer version (0.5.1) of this package.Take me there.

shiny.semantic (version 0.4.3)

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.4.3

License

MIT + file LICENSE

Maintainer

Developers Appsilon

Last Published

November 7th, 2021

Functions in shiny.semantic (0.4.3)

field

Create Semantic UI field tag
extract_icon_name

Extract icon name
define_selection_type

Define search type if multiple
dropdown_menu

Create Semantic UI Dropdown
date_input

Define simple date input with Semantic UI styling
check_shiny_param

Checks whether argument included as shiny exclusive parameter
get_cdn_path

Get CDN path semantic dependencies
check_semantic_theme

Semantic theme path validator
.onLoad

Internal function that expose javascript bindings to Shiny app.
dropdown_input

Create dropdown Semantic UI component
%:::%

::: hack solution to pass CRAN checks
grid

Use CSS grid template in Shiny UI
grid_container_css

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

Create Semantic UI fields tag
get_default_semantic_theme

Get default semantic css
grid_template

Define a template of a CSS grid
message_box

Create Semantic UI Message box
menu_item

Create Semantic UI Menu Item
menu_header

Create Semantic UI Header Item
button

Create Semantic UI Button
menu_divider

Create Semantic UI Divider Item
horizontal_menu

Horizontal menu
header

Create Semantic UI header
numeric_input

Create Semantic UI Numeric Input
parse_val

Parse the `shiny_input` value from JSON
list_of_area_tags

Generate list of HTML div elements representing grid areas.
create_modal

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

Create Semantic UI Menu
search_field

Create search field Semantic UI component
rating_input

Rating Input.
progress

Create progress Semantic UI component
show_modal

Show, Hide or Remove Semantic UI modal
list_container

Create Semantic UI list with header, description and icons
data_frame_to_css_grid_template_areas

Generate CSS string representing grid template areas.
cards

Create Semantic UI cards tag
list_element

Helper function to render list element
search_selection_api

Add Semantic UI search selection dropdown based on REST API
update_action_button

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

Create Semantic UI checkbox
update_dropdown_input

Update dropdown Semantic UI component
vertical_layout

Vertical layout
warn_unsupported_args

Warn that there are not supported arguments
sidebar_panel

Creates div containing children elements of sidebar panel
toast

Show and remove Semantic UI toast
update_tabset

Change the selected tab of a tabset on the client
theme_selector

Themes changer dropdown
update_slider

Update slider Semantic UI component
selectInput

Create a select list input control
check_proper_color

Check if color is set from Fomantic-UI palette
multiple_checkbox

Create Semantic UI multiple checkbox
modal

Create Semantic UI modal
file_input

Create Semantic UI File Input
flow_layout

Flow layout
counter_button

Counter Button
semanticPage

Semantic UI page
steps

Show steps
set_tab_id

Sets tab id if not provided
split_args

Split arguments to positional and named
shiny.semantic

Semantic UI wrapper for Shiny
split_layout

Split layout
form

Create Semantic UI form tag
display_grid

Display grid template in a browser for easy debugging
digits2words

Helper function that transforms digits to words
uiinput

Create Semantic UI Input
toggle_step_state

Toggle step state
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.
get_dependencies

Add dashboard dependencies to html
search_selection_choices

Add Semantic UI search selection dropdown based on provided choices
single_step

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

Create Semantic UI segment
slider_input

Create Semantic UI Slider / Range
icon

Create Semantic UI icon tag
with_progress

Reporting progress (functional API)
get_numeric

Extracts numeric values
textAreaInput

Create a semantic Text Area input
text_input

Create Semantic UI Text Input
tabset

Create Semantic UI tabs
label

Create Semantic UI label tag
register_search

Register search api url
update_rating_input

Update rating
update_progress

Update progress Semantic UI component
render_menu_link

Render menu link
semantic_DT

Create Semantic DT Table
semantic_DTOutput

Semantic DT Output
shiny_input

Create universal Shiny input binding
shiny_text_input

Create universal Shiny text input binding
uirender

Render semanticui htmlwidget
updateSelectInput

Change the value of a select input on the client
update_numeric_input

Change numeric input value and settings
update_multiple_checkbox

Update checkbox Semantic UI component
calendar

Create Semantic UI Calendar
Progress

Reporting progress (object-oriented API)
SUPPORTED_THEMES

Supported semantic themes
accordion

Accordion UI
card

Create Semantic UI card tag
attach_rule

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

Allowed sizes
COLOR_PALETTE

Semantic colors
action_button

Action button