Learn R Programming

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

shiny.semantic (version 0.5.0)

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,294

Version

0.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jakub Nowicki

Last Published

January 17th, 2024

Functions in shiny.semantic (0.5.0)

create_modal

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

Get dependencies path
get_css_file

Get css file
horizontal_menu

Horizontal menu
display_grid

Display grid template in a browser for easy debugging
header

Create Semantic UI header
get_dependencies

Add dashboard dependencies to html
flow_layout

Flow layout
file_input

Create Semantic UI File Input
menu

Create Semantic UI Menu
menu_item

Create Semantic UI Menu Item
dropdown_menu

Create Semantic UI Dropdown
message_box

Create Semantic UI Message box
grid_template

Define a template of a CSS grid
list_container

Create Semantic UI list with header, description and icons
register_search

Register search api url
get_numeric

Extracts numeric values
list_element

Helper function to render list element
digits2words

Helper function that transforms digits to words
list_of_area_tags

Generate list of HTML div elements representing grid areas.
extract_icon_name

Extract icon name
render_menu_link

Render menu link
search_selection_choices

Add Semantic UI search selection dropdown based on provided choices
progress

Create progress Semantic UI component
dropdown_input

Create dropdown Semantic UI component
%:::%

::: hack solution to pass CRAN checks
segment

Create Semantic UI segment
.onLoad

Internal function that expose javascript bindings to Shiny app.
toggle_step_state

Toggle step state
menu_header

Create Semantic UI Header Item
steps

Show steps
menu_divider

Create Semantic UI Divider Item
rating_input

Rating Input.
numeric_input

Create Semantic UI Numeric Input
grid

Use CSS grid template in Shiny UI
tabset

Create Semantic UI tabs
data_frame_to_css_grid_template_areas

Generate CSS string representing grid template areas.
icon

Create Semantic UI icon tag
form

Create Semantic UI form tag
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.
multiple_checkbox

Create Semantic UI multiple checkbox
modal

Create Semantic UI modal
semantic_DT

Create Semantic DT Table
single_step

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

Create Semantic UI Input
search_field

Create search field Semantic UI component
shiny_input

Create universal Shiny input binding
parse_val

Parse the `shiny_input` value from JSON
show_modal

Show, Hide or Remove Semantic UI modal
set_tab_id

Sets tab id if not provided
label

Create Semantic UI label tag
search_selection_api

Add Semantic UI search selection dropdown based on REST API
semantic_DTOutput

Semantic DT Output
shiny.semantic

Semantic UI wrapper for Shiny
slider_input

Create Semantic UI Slider / Range
with_progress

Reporting progress (functional API)
sidebar_panel

Creates div containing children elements of sidebar panel
theme_selector

Themes changer dropdown
updateSelectInput

Change the value of a select input on the client
uirender

Render semanticui htmlwidget
toast

Show and remove Semantic UI toast
textAreaInput

Create a semantic Text Area input
text_input

Create Semantic UI Text Input
update_dropdown_input

Update dropdown Semantic UI component
shiny_text_input

Create universal Shiny text input binding
split_args

Split arguments to positional and named
update_progress

Update progress Semantic UI component
update_rating_input

Update rating
selectInput

Create a select list input control
split_layout

Split layout
update_numeric_input

Change numeric input value and settings
vertical_layout

Vertical layout
update_action_button

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

Change the selected tab of a tabset on the client
semanticPage

Semantic UI page
update_slider

Update slider Semantic UI component
update_multiple_checkbox

Update checkbox Semantic UI component
warn_unsupported_args

Warn that there are not supported arguments
SIZE_LEVELS

Allowed sizes
Progress

Reporting progress (object-oriented API)
accordion

Accordion UI
button

Create Semantic UI Button
card

Create Semantic UI card tag
action_button

Action button
cards

Create Semantic UI cards tag
calendar

Create Semantic UI Calendar
date_input

Define simple date input with Semantic UI styling
counter_button

Counter Button
check_proper_color

Check if color is set from Fomantic-UI palette
checkbox_input

Create Semantic UI checkbox
define_selection_type

Define search type if multiple
COLOR_PALETTE

Semantic colors
attach_rule

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

Create Semantic UI field tag
fields

Create Semantic UI fields tag
check_shiny_param

Checks whether argument included as shiny exclusive parameter
grid_container_css

Generate template string representing CSS styles of grid container div.