Learn R Programming

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

shiny.semantic (version 0.4.0)

'FomanticUI' 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 'FomanticUI' - (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,294

Version

0.4.0

License

MIT + file LICENSE

Maintainer

Dominik Krzemi<c5><84>ski

Last Published

September 7th, 2020

Functions in shiny.semantic (0.4.0)

button

Create Semantic UI Button
accordion

Accordion UI
action_button

Action button
date_input

Define simple date input with Semantic UI styling
data_frame_to_css_grid_template_areas

Generate CSS string representing grid template areas.
dropdown_input

Create dropdown Semantic UI component
counter_button

Counter Button
calendar

Create Semantic UI Calendar
apply_custom_styles_to_html_template

Format string template (that represents HTML template) with custom CSS styles.
dropdown_menu

Create Semantic UI Dropdown
cards

Create Semantic UI cards tag
card

Create Semantic UI card tag
create_modal

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

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

::: hack solution to pass CRAN checks
grid

Use CSS grid template in Shiny UI
display_grid

Display grid template in a browser for easy debugging
check_proper_color

Check if color is set from Fomantic-UI palette
field

Create Semantic UI field tag
extract_icon_name

Extract icon name
checkbox_input

Create Semantic UI checkbox
fields

Create Semantic UI fields tag
flow_layout

Flow layout
menu_divider

Create Semantic UI Divider Item
check_semantic_theme

Semantic theme path validator
get_dependencies

Add dashboard dependencies to html
menu

Create Semantic UI Menu
list_of_area_tags

Generate list of HTML div elements representing grid areas.
list_container

Create Semantic UI list with header, description and icons
list_element

Helper function to render list element
get_numeric

Extracts numeric values
define_selection_type

Define search type if multiple
.onLoad

Internal function that expose javascript bindings to Shiny app.
menu_item

Create Semantic UI Menu Item
message_box

Create Semantic UI Message box
modal

Create Semantic UI modal
semantic_DTOutput

Semantic DT Output
shiny_input

Create universal Shiny input binding
shiny.semantic

Semantic UI wrapper for Shiny
set_tab_id

Sets tab id if not provided
update_progress

Update progress Semantic UI component
update_numeric_input

Change numeric input value and settings
digits2words

Helper function that transforms digits to words
menu_header

Create Semantic UI Header Item
get_cdn_path

Get CDN path semantic dependencies
get_default_semantic_theme

Get default semantic css
grid_container_css

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

Create Semantic UI Numeric Input
rating_input

Rating Input.
register_search

Register search api url
semantic_DT

Create Semantic DT Table
semanticPage

Semantic UI page
multiple_checkbox

Create Semantic UI multiple checkbox
render_menu_link

Render menu link
split_args

Split arguments to positional and named
search_field

Create search field Semantic UI component
grid_template

Define a template of a CSS grid
parse_val

Parse the `shiny_input` value from JSON
segment

Create Semantic UI segment
selectInput

Create a select list input control
textAreaInput

Create a semantic Text Area input
tabset

Create Semantic UI tabs
show_modal

Show, Hide or Remove Semantic UI modal
uirender

Render semanticui htmlwidget
update_slider

Update slider Semantic UI component
update_rating_input

Update rating
shiny_text_input

Create universal Shiny text input binding
updateSelectInput

Change the value of a select input on the client
form

Create Semantic UI form tag
toast

Show and remove Semantic UI toast
split_layout

Split layout
uiinput

Create Semantic UI Input
icon

Create Semantic UI icon tag
progress

Create progress Semantic UI component
label

Create Semantic UI label tag
prepare_mustache_for_html_template

After applying custom CSS, prepares glue() template to be ready to use with htmltools::htmlTemplate()
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.
search_selection_api

Add Semantic UI search selection dropdown based on REST API
search_selection_choices

Add Semantic UI search selection dropdown based on provided choices
horizontal_menu

Horizontal menu
slider_input

Create Semantic UI Slider / Range
sidebar_panel

Creates div containing children elements of sidebar panel
header

Create Semantic UI header
update_action_button

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

Create Semantic UI Text Input
theme_selector

Themes changer dropdown
with_progress

Reporting progress (functional API)
update_dropdown_input

Update dropdown Semantic UI component
vertical_layout

Vertical layout
warn_unsupported_args

Warn that there are not supported arguments
COLOR_PALETTE

Semantic colors
SIZE_LEVELS

Allowed sizes
SUPPORTED_THEMES

Supported semantic themes
Progress

Reporting progress (object-oriented API)
check_shiny_param

Checks whether argument included as shiny exclusive parameter