Skip to main content
Flowra
PricingCommunityFAQ
JoinStart with Flowra
  • PricingPlans, seats and payment
  • Frequently asked questionsEverything you have asked, in one place
  • Contact usWrite to the right team
  • CommunityKaro Studio, who make Flowra

For your team

  • Marketing teamsCampaigns from brief to launch
  • Product and dev teamsFeatures and bugs with full context
  • Design and content teamsBrief, files and delivery side by side
  • Operations teamsWork, documents and costs you can track
  • Sales and services teamsFrom meeting to contract and payment
  • Remote teamsOnline meeting to delivery, on your time

For your role

  • Project managersAction stories instead of chasing the team
  • Freelancers and consultantsFrom brief to contract and settlement

For your workflow

  • Meeting to actionMeeting decisions as trackable work
  • Actions with financial contextCosts next to the work that caused them
  • Actions with contract contextEvery commitment as trackable work
  • Brief to project deliveryEvery project step, one complete action
See all solutionsStart with FlowraJoin
++
Flowra design system

Fundamentals

PrinciplesVoice and writingCopy rules for each surfaceGlossaryRTL and languagesNumbers and datesAccessibility

Foundations

ColorDark modePrintingTypographySpacing and layoutRadius and shadowLayersMotionNotification soundKeyboard shortcutsIconsService logos

Components

ButtonsText fieldPickerDate and timeCheckboxRadioKeySegmented controlSliderMenu and sheetDialogCard and listTables and data listsBadge, pill, and switchTabs and filtersAvatarEmpty and loading statesProgress and stepsToastFloating helpNavigationPage headerAssistants

Patterns

Connector pageList, filter, and searchForm layoutCreation flowUpgrade promptConfirmation and irreversible actionsPhone layoutFixed bars and scrolling

Brand

Flowra brandMark and logoBrand colorBrand typographyMisuse

Design system/Components

On/off switch

A switch turns a setting on or off immediately, with no save button. It's the same old .toggle, which now has the switch role, the aria-checked state, a focus ring, and a disabled state.

In codecomponents/controls.tsx (Switch)app/globals.css (.toggle)

On this page

  1. Live example
  2. Size and motion
  3. Rules
  4. Code

Live example

Live example
Email reminderOne day before the due date.
Weekly summary
Security notificationsAlways on.
Off
On
Inactive

Size and motion

Track36 × 21px · r 999px
Off / onvar(--toggle-off) / var(--accent)
Handle16px #fff · shadow 0 1px 3px
MovetranslateX(15px) · 0.28s cubic-bezier(0.34, 1.56, 0.64, 1)
PressHandle stretches to 20px · 0.15s
Touch areaInvisible ring ::beforepointer: coarse
Row with labelmin-height 44px · gap 12px
Focus / disabledoutline 2px accent · opacity 0.45

Rules

Do

The label is the name of the thing being turned on: “Email reminder”.

Don't

An “On/Off” label next to the switch; the switch itself shows its state.

Do

If turning it on takes time or fails, flip the switch back and say why.

Don't

A switch that stays on even though the server rejected it.

Do

Switch with ariaLabel or label.

Don't

A <button className="toggle"> with no role; screen readers only read “button”.

Why

A switch means “right now”. If you also have to press “Save” after flipping it, people can't tell whether the change was recorded; that's where a checkbox belongs.

Code

<Switch checked={on} onChange={setOn} label={tr("یادآور ایمیلی")} />
<Switch checked={f.enabled} onChange={(v) => toggle(f.key, v)} ariaLabel={tr("تغییر وضعیت *").replace("*", f.label)} />

Related pages

CheckboxFor a form that's saved later.MotionA springy knob that stretches under press.Badge, pill, and switchThe switch was previously documented alongside badges and pills.
PreviousRadioNextSegmented control

Related pages

  • PageBrand kitThe Flowra mark and logo, colors, typography, clear space and minimum size, and the brand kit files to download.
  • PageDocumentationThe complete Flowra guide: actions, calendar, meetings, knowledge, files, Folio, chat, network, finance, connectors, settings and AI, each with its connections.
  • PageChangelogWhat each release added to Flowra, what got better, and what’s coming next.
  • PageContact usReach the right team: support, sales and plans, partnerships, careers, or security and privacy.
Flowra

Flowra is an all-in-one workspace for managing tasks, projects, finances, meetings, and teamwork, powered by AI to keep everything organized in one place.

Solutions for teams

  • Marketing teams
  • Product and dev teams
  • Design and content teams
  • Operations teams
  • Sales and services teams
  • Remote teams

Roles and flows

  • Project managers
  • Freelancers and consultants
  • Meeting to action
  • Actions with financial context
  • Actions with contract context
  • Brief to project delivery

With Flowra

  • All solutions
  • Pricing
  • Frequently asked questions
  • Documentation
  • Contact us
  • Brand kit
  • Design system
Crafted by Karo Studio
SecurityPrivacyTermsCookies
Version 0.16.0