Learn R Programming

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

shiny.semantic (version 0.4.2)

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 Semantic UI - . It also supports universal UI input binding that works with various DOM elements.

Copy Link

Version

Install

install.packages('shiny.semantic')

Monthly Downloads

1,294

Version

0.4.2

License

MIT + file LICENSE

Maintainer

Dominik Krzemi<c5><84>ski

Last Published

January 10th, 2021

Functions in shiny.semantic (0.4.2)

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

Create Semantic UI Calendar
Progress

Reporting progress (object-oriented API)
SIZE_LEVELS

Allowed sizes
button

Create Semantic UI Button
action_button

Action button
COLOR_PALETTE

Semantic colors
SUPPORTED_THEMES

Supported semantic themes
create_modal

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

Create Semantic UI form tag
checkbox_input

Create Semantic UI checkbox
counter_button

Counter Button
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.
list_of_area_tags

Generate list of HTML div elements representing grid areas.
menu

Create Semantic UI Menu
flow_layout

Flow layout
get_cdn_path

Get CDN path semantic dependencies
get_default_semantic_theme

Get default semantic css
file_input

Create Semantic UI File Input
menu_item

Create Semantic UI Menu Item
%:::%

::: hack solution to pass CRAN checks
digits2words

Helper function that transforms digits to words
check_semantic_theme

Semantic theme path validator
check_shiny_param

Checks whether argument included as shiny exclusive parameter
display_grid

Display grid template in a browser for easy debugging
numeric_input

Create Semantic UI Numeric Input
message_box

Create Semantic UI Message box
search_selection_api

Add Semantic UI search selection dropdown based on REST API
search_field

Create search field Semantic UI component
cards

Create Semantic UI cards tag
list_container

Create Semantic UI list with header, description and icons
modal

Create Semantic UI modal
grid

Use CSS grid template in Shiny UI
list_element

Helper function to render list element
parse_val

Parse the `shiny_input` value from JSON
data_frame_to_css_grid_template_areas

Generate CSS string representing grid template areas.
dropdown_menu

Create Semantic UI Dropdown
get_dependencies

Add dashboard dependencies to html
extract_icon_name

Extract icon name
date_input

Define simple date input with Semantic UI styling
header

Create Semantic UI header
field

Create Semantic UI field tag
define_selection_type

Define search type if multiple
fields

Create Semantic UI fields tag
horizontal_menu

Horizontal menu
selectInput

Create a select list input control
multiple_checkbox

Create Semantic UI multiple checkbox
.onLoad

Internal function that expose javascript bindings to Shiny app.
check_proper_color

Check if color is set from Fomantic-UI palette
semanticPage

Semantic UI page
shiny_input

Create universal Shiny input binding
text_input

Create Semantic UI Text Input
textAreaInput

Create a semantic Text Area input
theme_selector

Themes changer dropdown
shiny_text_input

Create universal Shiny text input binding
with_progress

Reporting progress (functional API)
toast

Show and remove Semantic UI toast
grid_template

Define a template of a CSS grid
dropdown_input

Create dropdown Semantic UI component
grid_container_css

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

Create Semantic UI icon tag
get_numeric

Extracts numeric values
menu_divider

Create Semantic UI Divider Item
label

Create Semantic UI label tag
progress

Create progress Semantic UI component
search_selection_choices

Add Semantic UI search selection dropdown based on provided choices
show_modal

Show, Hide or Remove Semantic UI modal
split_layout

Split layout
updateSelectInput

Change the value of a select input on the client
tabset

Create Semantic UI tabs
segment

Create Semantic UI segment
update_action_button

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

Update slider Semantic UI component
sidebar_panel

Creates div containing children elements of sidebar panel
register_search

Register search api url
menu_header

Create Semantic UI Header Item
render_menu_link

Render menu link
update_tabset

Change the selected tab of a tabset on the client
semantic_DT

Create Semantic DT Table
uiinput

Create Semantic UI Input
slider_input

Create Semantic UI Slider / Range
split_args

Split arguments to positional and named
semantic_DTOutput

Semantic DT Output
rating_input

Rating Input.
uirender

Render semanticui htmlwidget
set_tab_id

Sets tab id if not provided
update_progress

Update progress Semantic UI component
shiny.semantic

Semantic UI wrapper for Shiny
vertical_layout

Vertical layout
update_numeric_input

Change numeric input value and settings
update_dropdown_input

Update dropdown Semantic UI component
warn_unsupported_args

Warn that there are not supported arguments
update_rating_input

Update rating