Base

  • Colors
  • Icons
  • Logos
  • Shadows and Elevations
  • Spacing
  • Typography

Components

  • Accordion
  • Avatars
  • Badges
  • Buttons
  • Cards
  • Character Counter
  • Device Type Icons
  • Draggables
  • Dropdowns
  • Droppables
  • Expandable image
  • Filters
  • Gallery card
  • Icon Button
  • Indicators
  • Lightbox image
  • Lists
  • Loading
  • Messages
  • Pictogram
  • Poster Play
  • Progress bar
  • QR Code
  • Rating stars
  • Row Selector
  • Segmented Controls
  • Sentiment
  • Split View
  • Tables
  • Tags
  • Tester vitals
  • Toggle button
  • Typeahead

Form

  • Checkbox
  • Combobox
  • Form Rule
  • Hint
  • Input
  • Input Title
  • Label
  • Multi-select List
  • Search
  • Select
  • Single-select List
  • Sliders
  • Switch
  • Text Area

Layout

  • Containers
  • Layers
  • Layout
  • Split Layout
  • Wrappers

Navigation

  • Context Switcher
  • Nav bar
  • Navigation
  • Pagination
  • Sidebar Navigation
  • Step Navigation
  • Tabs

Overlay

  • Banners
  • Bulk Selector
  • Modals
  • Popovers
  • Toast
  • Tooltips
  • User Notifications

Patterns

  • Full Page Message
  • Question card & Group Questions Container

Visualizations

  • Data Colors

Sentiment

Sentiment Icons

Copy
<tk-sentiment-icon sentiment="positive"></tk-sentiment-icon>
<tk-sentiment-icon sentiment="negative"></tk-sentiment-icon>
<tk-sentiment-icon sentiment="unassigned"></tk-sentiment-icon>

Description

Our sentiment icons take in three sentiments: positive, negative, or unassigned (default). Note: these are quite distinct from the rest of our icons, and intentionally do not work with tk-icon.

tk-sentiment-icon

Properties

Property Attribute Description Type Default
sentiment sentiment Displays the correct SVG and fill color. "negative" | "positive" | "unassigned" 'unassigned'
size size Sets the width and height of the SVG. When using a custom size, you can set the width and height CSS Properties. "large" | "medium" | "small" 'medium'

CSS Custom Properties

Name Description
--sentiment-icon-height The height of the icon when the size is custom.
--sentiment-icon-width The width of the icon when the size is custom.