Setting Card
Display setting options with a title and optional subtitle
Use the SettingCard
component to present configuration options in cards labeled with titles and optional subtitles:
Security emails
Get security alerts for logins.
Marketing emails
Get email about updates.
If you have your utility styles enabled, you can use the above classes to align multiple SettingCard
components under each other with a small gap. Each SettingCard
component can have a title
and subTitle
prop. To create the input, simply pass your components as the child for the SettingCard
:
Security emails
Get security alerts for logins.
Security emails
Get security alerts for logins.
You can use the following components in Webcore in combination with the SettingCard
component to build different kinds of settings:
Button
: Interactive UI components for triggering actions.Checkbox
: Component to toggle between two states.Input
: General component for taking user input from fields.Radio
: Component for selecting a single option from a predefined set of choices.Select
: Use this component to allow users to choose an option from a predefined list, displayed in a dropdown.Switch
: Functionally identical to a checkbox with an appearance similar to physical on/off switches.Textarea
: Multiline input field for large amounts of text.
Click on the component name to navigate to their docs.
API
Prop | Purpose |
---|---|
title | Sets the title for the setting card. |
items | Sets an optional secondary title for the setting card. |
Request improvement for this page