Secondary
Discrete
Disabled
Icon left
Icon right
Icon only
Icon only, discrete
Form button
Button group
Cool usecase
Danger button
Warning button
Search
Email
Password
Textarea
File input
Select
Range
Autocomplete
<input type="text" list="items" /> <datalist id="items"> <option>Lorem ipsum</option> <option>dolor sit</option> <option>amet</option> </datalist>Date
Disabled
Invalid
Checkbox
Radio
Switch
RC Components uses Font Awesome v5 (Pro). For a full list of avaiable icons see: https://fontawesome.com/v5/search
When using tabs on a different background colour than
--surface-1
: set --background-color
to that
background-color on .tabs
.
With icons
Simple modal with only a body
Body and footer
Modal without a header; only body and footer
Header, body and footer
Full modal with header, body and footer
With close button
Warning: when you set the `data-tooltip` property on an element, it will get `position: relative`. This might cause unexpected behaviour but can easily be overriden of course.
Hover over me
Also known as a snackbar or simply notification. Toasts should only contain non-crucial information and should always dissapear automatically, with or without an action. TODO make them stack
With action